cmd_get_success_output_or_fail

Function cmd_get_success_output_or_fail 

Source
pub fn cmd_get_success_output_or_fail(
    bin: &str,
    bin_cmd: &str,
    output: Output,
    quiet: bool,
) -> String
Expand description

Get the string from the output that was generated by a call to bin bin_cmd. If was not successful print the error and exit. If quiet is false also print any warning detected (stderr output).