diff options
Diffstat (limited to 'src/opener.rs')
-rw-r--r-- | src/opener.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opener.rs b/src/opener.rs index 46ad71d..2ba9ec0 100644 --- a/src/opener.rs +++ b/src/opener.rs @@ -396,7 +396,7 @@ pub fn execute_in_child(exe: &str, args: &Vec<&str>) -> Result<std::process::Chi /// Execute a command with options in a fork. /// Returns an handle to the child process. /// Branch stdin, stderr and stdout to /dev/null -pub fn execute_in_child_without_output(exe: &str, args: &Vec<&str>) -> Result<std::process::Child> { +pub fn execute_in_child_without_output(exe: &str, args: &[&str]) -> Result<std::process::Child> { info!("execute_in_child_without_output. executable: {exe}, arguments: {args:?}",); Ok(Command::new(exe) .args(args) |