(cmd: &mut Command)
| 74 | |
| 75 | #[allow(dead_code)] |
| 76 | pub fn get_driver_path(cmd: &mut Command) -> String { |
| 77 | let stdout = &cmd.unwrap().stdout; |
| 78 | let output = std::str::from_utf8(stdout).unwrap(); |
| 79 | let json: JsonOutput = serde_json::from_str(output).unwrap(); |
| 80 | path_to_string(Path::new(&json.result.driver_path)) |
| 81 | } |
| 82 | |
| 83 | #[allow(dead_code)] |
| 84 | pub fn exec_driver(cmd: &mut Command) -> String { |
no test coverage detected