pub fn get_cmd_stdout(cmd: Command) -> Result<Vec<u8>, RunCommandError>
Log a command, run it, and get its output.
Returns an error if the process fails to launch or if the exit code is non-zero.