Skip to main content

checked_command_output

Function checked_command_output 

Source
pub fn checked_command_output(
    command: &CommandSpec,
    output: CommandOutput,
) -> Result<CommandOutput, Error>
Expand description

Fail the same way CommandPlan::execute does for a non-zero exit status; kept as a shared helper so CommandPlan::execute_concurrent reports identical error text.