Skip to main content

run_checked

Function run_checked 

Source
pub fn run_checked<I, S>(args: I, label: &str) -> Result<RawResult>
where I: IntoIterator<Item = S>, S: Into<String>,
Expand description

Like run, but a non-zero exit becomes Error::CommandFailed tagged with label.