Struct ubend::Child [−][src]
pub struct Child { /* fields omitted */ }Methods
impl Child[src]
impl Childpub 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) -> WaitResultpub fn pid(&self) -> pid_t[src]
pub fn pid(&self) -> pid_tpub 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 Childfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Drop for Child[src]
impl Drop for Child