diff --git a/src/std_fns.rs b/src/std_fns.rs index 8c7d1e6..272768a 100644 --- a/src/std_fns.rs +++ b/src/std_fns.rs @@ -816,9 +816,9 @@ pub fn command(stack: &mut Stack) -> OError { Value::Long( process::Command::new(&args[0]) .args(&args[1..]) - .stdin(Stdio::inherit()) - .stdout(Stdio::inherit()) - .stderr(Stdio::inherit()) + .stdin(Stdio::null()) + .stdout(Stdio::null()) + .stderr(Stdio::null()) .spawn() .map_err(|x| stack.error(ErrorKind::IO(x.to_string())))? .id() as i64,