(cmd: &mut Command)
| 80 | |
| 81 | #[allow(dead_code)] |
| 82 | pub fn exec_driver(cmd: &mut Command) -> String { |
| 83 | let cmd_mut = cmd.borrow_mut(); |
| 84 | let driver_path = get_driver_path(cmd_mut); |
| 85 | let driver_version_command = |
| 86 | shell::Command::new(&driver_path, vec![String::from(DASH_DASH_VERSION)]); |
| 87 | let output = run_shell_command(driver_version_command).unwrap(); |
| 88 | println!("**** EXEC DRIVER: {}", output); |
| 89 | output |
| 90 | } |
| 91 | |
| 92 | #[allow(dead_code)] |
| 93 | pub fn get_stdout(cmd: &mut Command) -> String { |
no test coverage detected