ProcessDirectory

ProcessDirectory
is an option specifying the initial working directory to use when executing a process in functions like StartProcess and RunProcess.

DetailsDetails

  • With the default setting ProcessDirectory->Inherited, the subprocess will inherit its initial directory from the current working directory Directory[] of the Wolfram Engine that calls it.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

On Unix systems like Mac OS and Linux, this runs the process in the installation directory to list the contents of that directory:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2014
(10.0)
Translate this page: