Struct ::process::Stdio

Describes what to do with a standard I/O stream for a child process when passed to the stdin, stdout, and stderr methods of Command.

Methods

fn null() -> Stdio

This stream will be ignored. This is the equivalent of attaching the stream to /dev/null.

fn inherit() -> Stdio

The child inherits from the corresponding parent descriptor. This is the default.

fn piped() -> Stdio

A new pipe should be arranged to connect the parent and child processes.