We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2890508 commit bbc3f2eCopy full SHA for bbc3f2e
src/libstd/process.rs
@@ -355,11 +355,11 @@ impl Stdio {
355
pub fn capture() -> Stdio { Stdio(StdioImp::Capture) }
356
357
/// The child inherits from the corresponding parent descriptor.
358
- pub fn inherit() -> Stdio { Stdio(StdioImp::Capture) }
+ pub fn inherit() -> Stdio { Stdio(StdioImp::Inherit) }
359
360
/// This stream will be ignored. This is the equivalent of attaching the
361
/// stream to `/dev/null`
362
- pub fn null() -> Stdio { Stdio(StdioImp::Capture) }
+ pub fn null() -> Stdio { Stdio(StdioImp::Null) }
363
}
364
365
/// Describes the result of a process after it has terminated.
0 commit comments