Struct unshare::Child[][src]

pub struct Child {
    pub stdin: Option<PipeWriter>,
    pub stdout: Option<PipeReader>,
    pub stderr: Option<PipeReader>,
    // some fields omitted
}

The reference to the running child

Fields

Stdin of a child if it is a pipe

Stdout of a child if it is a pipe

Stderr of a child if it is a pipe

Methods

impl Child
[src]

Returns pid of the process (a mirror of std method)

Returns pid of process with correct pid_t type

Synchronously wait for child to complete and return exit status

Send arbitrary unix signal to the process

Kill process with SIGKILL signal

Returns pipe reader for a pipe declared with file_descriptor()

Returns None for wrong configuration or when called twice for same descriptor

Returns pipe writer for a pipe declared with file_descriptor()

Returns None for wrong configuration or when called twice for same descriptor

Trait Implementations

impl Debug for Child
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Child

impl Sync for Child