working_directory/2¶
"working_directory( ?CurDir,? NextDir" )
Fetch the current directory at CurDir. If NextDir is bound to an atom, make its value the current working directory.
Unifies Old with an absolute path to the current working directory and change working directory to New. Use the pattern working_directory(CWD, CWD)
to get the current directory. See also @ref absolute_file_name_50 @"absolute_file_name/2"
and chdir_49 "chdir/1".