Struct native::io::process::Process[src]
pub struct Process {
// some fields omitted
}A value representing a child process.
The lifetime of this value is linked to the lifetime of the actual process - the Process destructor calls self.finish() which waits for the process to terminate.
Methods
impl Process
fn spawn(cfg: ProcessConfig) -> IoResult<(Process, Vec<Option<FileDesc>>)>
Creates a new process using native process-spawning abilities provided by the OS. Operations on this process will be blocking instead of using the runtime for sleeping just this current task.