KillProcess
KillProcess[proc]
停止由 ProcessObject 表示的外部进程 proc.
更多信息
- 在类似 Unix 的系统上,KillProcess[proc,n] 发送信号 n 到进程.
范例
基本范例 (2)
process = StartProcess[$SystemShell]KillProcess[process];
Pause[0.1];ProcessStatus[process]StartProcess[$SystemShell]& /@ Range[5]显示使用 StartProcess 启动的进程列表,
Processes[]停止所有使用 StartProcess 启动的进程:
KillProcess /@ Processes[];Processes[]文本
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_2026_killprocess, author="Wolfram Research", title="{KillProcess}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/KillProcess.html}", note=[Accessed: 12-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_killprocess, organization={Wolfram Research}, title={KillProcess}, year={2014}, url={https://reference.wolfram.com/language/ref/KillProcess.html}, note=[Accessed: 12-September-2026]}