pub fn output_result(cmd: &mut Command) -> Result<String, String>
Runs a command and returns the output