Redirect stderr to null

This commit is contained in:
Edwin Cheng 2020-03-31 22:18:24 +08:00
parent 6ed030d4b6
commit 3bc1670feb

View file

@ -48,6 +48,7 @@ impl Process {
let child = Command::new(process_path.clone())
.stdin(Stdio::piped())
.stdout(Stdio::piped())
.stderr(Stdio::null())
.spawn()?;
Ok(Process { path: process_path.into(), child })