diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-01 15:28:48 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-01 15:28:48 +0000 |
commit | eba599d9863553d0f7d9d93f4c9050943da171cc (patch) | |
tree | 80e3157d3cfd3436a1e0e4f2257c4369bbdfea1b | |
parent | a878f39b5eea8876ee6238eca9b935cc32656862 (diff) | |
parent | 5559d6b8a88750a78d91ff9c6cc1a1a736d22042 (diff) |
Merge #2972
2972: Prevent child cargo process from messing with our stdin r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
-rw-r--r-- | crates/ra_cargo_watch/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_cargo_watch/src/lib.rs b/crates/ra_cargo_watch/src/lib.rs index ea7ddc86b..a718a5e52 100644 --- a/crates/ra_cargo_watch/src/lib.rs +++ b/crates/ra_cargo_watch/src/lib.rs | |||
@@ -343,6 +343,7 @@ impl WatchThread { | |||
343 | .args(&args) | 343 | .args(&args) |
344 | .stdout(Stdio::piped()) | 344 | .stdout(Stdio::piped()) |
345 | .stderr(Stdio::null()) | 345 | .stderr(Stdio::null()) |
346 | .stdin(Stdio::null()) | ||
346 | .spawn() | 347 | .spawn() |
347 | .expect("couldn't launch cargo"); | 348 | .expect("couldn't launch cargo"); |
348 | 349 | ||