Remarks: The current working directory is the directory, associated
with the process, that is used as the starting location in pathname resolution
for relative paths.
The current path as returned by many operating systems is a dangerous
global variable and can be changed unexpectedly by third-party or system
library functions, or by another thread.
The current path for many operating systems is a dangerous
global state and can be changed unexpectedly by third-party or system
library functions, or by another thread.