fix(desktop): use -e argument for spawning desktop entries with a terminal

This commit is contained in:
TobyDig 2026-04-02 08:32:36 +11:00 committed by GitHub
parent aef328238f
commit 0ba668eb52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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()