Skip to content
Myr

Close stdin for child-processes, closes #13

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by sharkdp · committed by sharkdp · parent 984cec7 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:src/main.rs+1 added
48 unmodified lines
4950 let status = Command::new("sh")51 .arg("-c")52 .arg(shell_cmd)53 .stdin(Stdio::null())54 .stdout(Stdio::null())55 .stderr(Stdio::null())56 .status()?;57
249 unmodified lines