Trait CmdRun
Source pub trait CmdRun {
// Required method
fn run(&mut self) -> Result<(), CmdSpawnError>;
}
spawn and wait child process
§Errors
command.run() can result in CmdSpawnError:
CmdSpawnError::IO(std::io::Error) when spawn or wait fail
CmdSpawnError::Child(ChildError) when the child process exit with a failed status