summaryrefslogtreecommitdiffstats
path: root/src/app/tab.rs
diff options
context:
space:
mode:
authorqkzk <qu3nt1n@gmail.com>2023-11-28 20:42:55 +0100
committerqkzk <qu3nt1n@gmail.com>2023-11-28 20:42:55 +0100
commit901fd4729f0fd9d85be22938c18a73768742bcc3 (patch)
treeb032899313db4ff5b08fca1224f770281f597962 /src/app/tab.rs
parent49e9bffab2cef9502756df06619072ba49b8e668 (diff)
use NOHUP when opening files or starting a new shell. Rename some execute commands
Diffstat (limited to 'src/app/tab.rs')
-rw-r--r--src/app/tab.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/tab.rs b/src/app/tab.rs
index c0a20e1..236201c 100644
--- a/src/app/tab.rs
+++ b/src/app/tab.rs
@@ -5,7 +5,7 @@ use anyhow::{Context, Result};
use crate::common::{has_last_modification_happened_less_than, row_to_window_index, set_clipboard};
use crate::config::Settings;
-use crate::io::execute_in_child;
+use crate::io::execute;
use crate::io::Args;
use crate::log_info;
use crate::modes::ContentWindow;
@@ -630,7 +630,7 @@ impl Tab {
.selected_path_string()
.context("execute custom: no selected file")?;
args.push(path);
- execute_in_child(command, &args)?;
+ execute(command, &args)?;
Ok(true)
}