Skip to main content

run_checked

Function run_checked 

Source
pub fn run_checked(program: &str, args: &[&str]) -> Result<CmdResult>
Expand description

Run a command that MUST succeed; returns the captured result or an error carrying the trimmed stderr. Use inside Required steps.