ProcessEnvironment
is an option specifying the initial settings of environment variables to use when executing a process in functions like StartProcess and RunProcess.
Details
- With the default setting ProcessEnvironment->Inherited, the subprocess will inherit its initial environment from the settings of the parent process (the Wolfram Engine) that calls it.
- The values of environment variables are typically given in an association.
Examples
Basic Examples (1)
On Unix systems like Mac OS and Linux, these inputs run the echo process from a system shell to report the value of the environment variable set by the value of the ProcessEnvironment option:
Text
Wolfram Research (2014), ProcessEnvironment, Wolfram Language function, https://reference.wolfram.com/language/ref/ProcessEnvironment.html.
CMS
Wolfram Language. 2014. "ProcessEnvironment." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ProcessEnvironment.html.
APA
Wolfram Language. (2014). ProcessEnvironment. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ProcessEnvironment.html