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