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

pub struct Stdio(_);

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 Stdio

unsafe fn from_raw_fd(fd: RawFd) -> Stdio

impl FromRawFd for Stdio

unsafe fn from_raw_fd(fd: RawFd) -> Stdio