ProcessEnvironment

ProcessEnvironment

是指定当执行诸如 StartProcessRunProcess 等函数中的进程时使用的环境变量的初始设置的一个选项.

更多信息

  • 当使用默认设置 ProcessEnvironment->Inherited 时,子进程将从调用它的父进程 (Wolfram Engine) 的设置继承其初始环境.
  • 环境变量值通常以相关性中给出.

范例

基本范例  (1)

在 Unix 系统中,如 Mac OS 和 Linux,将会从系统壳(shell)中执行 echo 进程以报告由ProcessEnvironment 选项值设置的环境变量值:

Wolfram Research (2014),ProcessEnvironment,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ProcessEnvironment.html.

文本

Wolfram Research (2014),ProcessEnvironment,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ProcessEnvironment.html.

CMS

Wolfram 语言. 2014. "ProcessEnvironment." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ProcessEnvironment.html.

APA

Wolfram 语言. (2014). ProcessEnvironment. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ProcessEnvironment.html 年

BibTeX

@misc{reference.wolfram_2024_processenvironment, author="Wolfram Research", title="{ProcessEnvironment}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/ProcessEnvironment.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_processenvironment, organization={Wolfram Research}, title={ProcessEnvironment}, year={2014}, url={https://reference.wolfram.com/language/ref/ProcessEnvironment.html}, note=[Accessed: 22-November-2024 ]}