Set the current directory for the child process. Inherits this process current dir by default.
(&mut self, dir: impl Into<PathBuf>)
| 298 | /// |
| 299 | /// Inherits this process current dir by default. |
| 300 | pub fn current_dir(&mut self, dir: impl Into<PathBuf>) -> &mut Self { |
| 301 | self.as_mut().current_dir = Some(dir.into()); |
| 302 | self |
| 303 | } |
| 304 | |
| 305 | /// Returns the currently configured current process directory path |
| 306 | pub fn get_current_dir(&self) -> Option<&Path> { |
no test coverage detected