Struct ubend::Child [−][src]
pub struct Child { /* fields omitted */ }
Methods
impl Child
[src]
impl Child
pub fn kill(&mut self, sig: c_int) -> Result<(), KillError>
[src]
pub fn kill(&mut self, sig: c_int) -> Result<(), KillError>
pub fn wait(&mut self) -> WaitResult
[src]
pub fn wait(&mut self) -> WaitResult
pub fn pid(&self) -> pid_t
[src]
pub fn pid(&self) -> pid_t
pub fn stdin(&mut self) -> Option<File>
[src]
pub fn stdin(&mut self) -> Option<File>
Take ownership of stdin of the process.
If the setup didn't create a pipe for stdin or the pipe was already
pub fn stdout(&mut self) -> Option<File>
[src]
pub fn stdout(&mut self) -> Option<File>
Take ownership of stdout of the process.
If the setup didn't create a pipe for stdout or the pipe was already
pub fn stderr(&mut self) -> Option<File>
[src]
pub fn stderr(&mut self) -> Option<File>
Take ownership of stderr of the process.
If the setup didn't create a pipe for stderr or the pipe was already
pub fn output(self) -> Result<Output, OutputError>
[src]
pub fn output(self) -> Result<Output, OutputError>
Close stdin of the child process, read its stdout and stderr (if possible) and wait for the child process to finish.
Trait Implementations
impl Debug for Child
[src]
impl Debug for Child
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Drop for Child
[src]
impl Drop for Child