run_make_support::util

Function handle_failed_output

source
pub(crate) fn handle_failed_output(
    cmd: &Command,
    output: CompletedProcess,
    caller_line_number: u32,
) -> !
Expand description

If a given Command failed (as indicated by its CompletedProcess), verbose print the executed command, failure location, output status and stdout/stderr, and abort the process with exit code 1.