KillProcess

KillProcess[proc]

停止由 ProcessObject 表示的外部进程 proc.

更多信息

  • 在类似 Unix 的系统上,KillProcess[proc,n] 发送信号 n 到进程.

范例

基本范例  (2)

启动系统 shell 进程:

停止进程:

检查进程是否确实结束:

启动五个系统 shell 进程:

显示使用 StartProcess 启动的进程列表,

停止所有使用 StartProcess 启动的进程:

检查所有进程是否确实结束:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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