changed terminal command flag from -- to -e as the latter is widely supported for this purpose whilst the former is not

This commit is contained in:
Toby Digney 2026-03-25 23:32:09 +11:00
parent 8e439c842c
commit 7994979e62

View file

@ -789,7 +789,7 @@ pub async fn spawn_desktop_exec<S, I, K, V>(
})
.unwrap_or_else(|| String::from("cosmic-term"));
term_exec = format!("{term} -- {}", exec.as_ref());
term_exec = format!("{term} -e {}", exec.as_ref());
&term_exec
} else {
exec.as_ref()