Skip to content

Commit 628c66c

Browse files
committed
🚧 pages: launch app as disowned
1 parent 3c57945 commit 628c66c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/pages.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ fn on_appbtn_clicked(button: &gtk::Button) {
10611061
let mut exe_path =
10621062
Exec::cmd("which").arg(binname).stdout(Redirection::Pipe).capture().unwrap().stdout_str();
10631063
exe_path.pop();
1064-
let bash_cmd = format!("{}", &exe_path);
1064+
let bash_cmd = format!("{} &disown", &exe_path);
10651065

10661066
// Create context channel.
10671067
let (tx, rx) = glib::MainContext::channel(glib::Priority::default());

0 commit comments

Comments
 (0)