aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Cheng <[email protected]>2020-03-31 15:18:24 +0100
committerEdwin Cheng <[email protected]>2020-03-31 15:20:19 +0100
commit3bc1670febbb48a62065959d653e1078692be328 (patch)
tree40ffaf8bb8c66218de8c668a8cc0eb997147aa7d
parent6ed030d4b6b2bde57e44c0275b1b41903cb32d75 (diff)
Redirect stderr to null
-rw-r--r--crates/ra_proc_macro/src/process.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_proc_macro/src/process.rs b/crates/ra_proc_macro/src/process.rs
index f4b40ac3c..e8c85be38 100644
--- a/crates/ra_proc_macro/src/process.rs
+++ b/crates/ra_proc_macro/src/process.rs
@@ -48,6 +48,7 @@ impl Process {
48 let child = Command::new(process_path.clone()) 48 let child = Command::new(process_path.clone())
49 .stdin(Stdio::piped()) 49 .stdin(Stdio::piped())
50 .stdout(Stdio::piped()) 50 .stdout(Stdio::piped())
51 .stderr(Stdio::null())
51 .spawn()?; 52 .spawn()?;
52 53
53 Ok(Process { path: process_path.into(), child }) 54 Ok(Process { path: process_path.into(), child })