mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-01-26 04:22:03 +02:00
Merge pull request #1696 from docwilco/docwilco/fix-spawn-windows-debugging
fix(cli): make debugging in windows work
This commit is contained in:
commit
3bfd857a27
@ -396,6 +396,8 @@ fn rustc_exists() -> bool {
|
|||||||
Command::new("rustc")
|
Command::new("rustc")
|
||||||
.args(["--version"])
|
.args(["--version"])
|
||||||
.stdout(Stdio::null())
|
.stdout(Stdio::null())
|
||||||
|
.stderr(Stdio::null())
|
||||||
|
.stdin(Stdio::null())
|
||||||
.spawn()
|
.spawn()
|
||||||
.and_then(|mut child| child.wait())
|
.and_then(|mut child| child.wait())
|
||||||
.map(|status| status.success())
|
.map(|status| status.success())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user