fn execute_and_parse_stdout(command: &mut Command) -> Result<String> {
    let stdout = execute(command)?;
    String::from_utf8(stdout)
        .map_err(|e| Error::new(e).context("The stdout contains non-utf8 bytes."))
}
/// Executes a command, and parses the stdout as a string.
Executes a command, and parses the stdout as a string.
Executes a command and parses the stdout as a string .
fn execute_and_parse_stdout(command: &mut Command) -> Result<String> {
    let stdout = execute(command)?;
    String::from_utf8(stdout)
        .map_err(|e| Error::new(e).context("The stdout contains non-utf8 bytes."))
}
fn execute_and_parse_stdout ( command : & mut Command ) -> Result < String > { let stdout = execute ( command ) ? ; String :: from_utf8 ( stdout ) . map_err ( | e | Error :: new ( e ) . context ( " " ) ) }
Executes a command, and parses the stdout as a string.
Executes a command and parses the stdout as a string .
command
&mut Command
command
&mut Command