(cmd: &mut Command)
| 91 | |
| 92 | #[allow(dead_code)] |
| 93 | pub fn get_stdout(cmd: &mut Command) -> String { |
| 94 | let stdout = &cmd.unwrap().stdout; |
| 95 | let output = std::str::from_utf8(stdout).unwrap(); |
| 96 | println!("{}", output); |
| 97 | output.to_string() |
| 98 | } |
| 99 | |
| 100 | #[allow(dead_code)] |
| 101 | pub fn get_stderr(cmd: &mut Command) -> String { |
no outgoing calls
no test coverage detected