Function procinfo::pid::cwd [] [src]

pub fn cwd(pid: pid_t) -> Result<PathBuf>

Gets path of current working directory for the process with the provided pid.