()
| 5 | use std::process::Command; |
| 6 | |
| 7 | fn command_wrapper() -> Command { |
| 8 | if cfg!(windows) { |
| 9 | let mut command = Command::new("powershell"); |
| 10 | command.arg("-Command"); |
| 11 | command |
| 12 | } else { |
| 13 | let mut command = Command::new("sh"); |
| 14 | command.arg("-c"); |
| 15 | command |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | fn run_command(command: &str) { |
| 20 | assert!( |
nothing calls this directly
no outgoing calls
no test coverage detected