(&self)
| 215 | } |
| 216 | |
| 217 | fn stdout_path(&self) -> Result<PathBuf> { |
| 218 | let stdout_path = |
| 219 | unsafe { std::slice::from_raw_parts(self.stdout_path_ptr, self.stdout_path_len) }; |
| 220 | let stdout_path = |
| 221 | std::str::from_utf8(stdout_path).context("given stdout path is not valid UTF-8")?; |
| 222 | Ok(stdout_path.into()) |
| 223 | } |
| 224 | |
| 225 | fn stderr_path(&self) -> Result<PathBuf> { |
| 226 | let stderr_path = |
no test coverage detected