mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
Redirect stderr to null
This commit is contained in:
@@ -48,6 +48,7 @@ fn run(process_path: &Path) -> Result<Process, io::Error> {
|
||||
let child = Command::new(process_path.clone())
|
||||
.stdin(Stdio::piped())
|
||||
.stdout(Stdio::piped())
|
||||
.stderr(Stdio::null())
|
||||
.spawn()?;
|
||||
|
||||
Ok(Process { path: process_path.into(), child })
|
||||
|
||||
Reference in New Issue
Block a user