Struct ninja_build::subprocess::Subprocess
[−]
[src]
pub struct Subprocess { /* fields omitted */ }
Subprocess wraps a single async subprocess. It is entirely passive: it expects the caller to notify it when its fds are ready for reading, as well as call Finish() to reap the child once done() is true.
Methods
impl Subprocess
[src]
impl Subprocess
[src]
fn on_pipe_ready(&mut self)
[src]
fn finish(&mut self) -> ExitStatus
[src]
Returns ExitSuccess on successful process exit, ExitInterrupted if the process was interrupted, ExitFailure if it otherwise failed.