|
|
Question : get process working directory
|
|
I have a process id, is it possible to determine the current directory that the process is in?
|
Answer : get process working directory
|
|
The file /proc//cwd is a symbolic link to the current working directory.
Note: This is not portable to any other flavor of Unix and it is not guaranteed to be available for later versions of Linux.
|
|
|
|