Wolfram 语言与系统 10.0 (2014)|旧版文档

此为更早版本的 Wolfram 语言文档查看最新文档(版本11.2)

KillProcess

KillProcess[proc]
kills the external process represented by the ProcessObject proc.

更多信息更多信息

  • On Unix-like systems, KillProcess[proc,n] sends signal n to the process.

范例范例打开所有单元关闭所有单元

基本范例  (1)基本范例  (1)

Kill an external process just after opening it and check that it actually finished:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=
2014年引入
(10.0)