BUILT-IN WOLFRAM LANGUAGE SYMBOL

ProcessEnvironment

ProcessEnvironment
is an option specifying the initial settings of environment variables to use when executing a process in functions like StartProcess and RunProcess.

DetailsDetails

  • With the default setting ProcessEnvironment->Inherited, the subprocess will inherit its initial directory from the environment settings of the parent process (the Wolfram Engine) that calls it.
  • The values of environment variables are typically given in an association.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

On Unix systems like Mac OS and Linux, these inputs run the process from a system shell to report the value of the environment variable set by the value of the ProcessEnvironment option:

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