Skip to content

Commit

Permalink
🚧 pages: launch app as disowned
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed Jun 25, 2024
1 parent 3c57945 commit 628c66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ fn on_appbtn_clicked(button: &gtk::Button) {
let mut exe_path =
Exec::cmd("which").arg(binname).stdout(Redirection::Pipe).capture().unwrap().stdout_str();
exe_path.pop();
let bash_cmd = format!("{}", &exe_path);
let bash_cmd = format!("{} &disown", &exe_path);

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

0 comments on commit 628c66c

Please sign in to comment.