The directory used to resolve relative filename arguments to Perforce commands.
Used by Client?
Used by Server?
Can be set in P4CONFIG file?
Value if not Explicitly Set
The value of
The actual current working directory.
PWD variable isn't inherited properly across
shells. For instance, if you're running ksh or
sh on top of csh,
will be inherited from your csh environment but not
updated properly, causing possible confusion in subsequent Perforce
If you encounter such difficulties, check to be sure you've unset
PWD in your
.kshrc file. (If you're running sh
or ksh as your login shell,
PWD will be
managed properly by the shell regardless of any unsettings you've placed
in your startup files; the confusion only occurs when variables are
exported to subshells.)