(program: &str)
| 21 | } |
| 22 | |
| 23 | fn is_installed(program: &str) -> bool { |
| 24 | return Command::new(program) |
| 25 | // important cause we don't want the help message to output here |
| 26 | .stdout(Stdio::null()) |
| 27 | .stderr(Stdio::null()) |
| 28 | .spawn() |
| 29 | .is_ok(); |
| 30 | } |
no outgoing calls
no test coverage detected