Enum std::io::process::StdioContainer[src]

pub enum StdioContainer {
    Ignored,
    InheritFd(c_int),
    CreatePipe(bool, bool),
}

Describes what to do with a standard io stream for a child process.

Variants

Ignored

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

InheritFd

The specified file descriptor is inherited for the stream which it is specified for.

CreatePipe

Creates a pipe for the specified file descriptor which will be created when the process is spawned.

The first boolean argument is whether the pipe is readable, and the second is whether it is writable. These properties are from the view of the child process, not the parent process.