fn exec_cmd(cmd: Command) -> Output {
    let output = exec_cmd_nocheck(cmd);
    assert!(output.status.success());
    output
}
/// executes the given command, checks its exit status,
/// panics if this command does not finish normally
executes the given command, checks its exit status,
panics if this command does not finish normally
executes the given command checks its exit status panics if this command does not finish normally
fn exec_cmd(cmd: Command) -> Output {
    let output = exec_cmd_nocheck(cmd);
    assert!(output.status.success());
    output
}
fn exec_cmd ( cmd : Command ) -> Output { let output = exec_cmd_nocheck ( cmd ) ; assert ! ( output status success ( ) ) ; output }
executes the given command, checks its exit status,
panics if this command does not finish normally
executes the given command checks its exit status panics if this command does not finish normally
cmd
Command
cmd
Command