Struct std::process::Stdio [] [src]

pub struct Stdio(_);
1.0.0

Describes what to do with a standard I/O stream for a child process.

Methods

impl Stdio

fn piped() -> Stdio

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

fn inherit() -> Stdio

The child inherits from the corresponding parent descriptor.

fn null() -> Stdio

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

Trait Implementations

impl FromRawFd for Stdio1.2.0

unsafe fn from_raw_fd(fd: RawFd) -> Stdio