Processes

Processes[]

returns a list of currently running external processes started in this Wolfram Language session.

Details

Examples

Basic Examples  (2)

Get the list of running processes:

In[1]:=
Click for copyable input
Out[1]=

Start the system shell process using StartProcess:

In[2]:=
Click for copyable input
Out[2]=

Get the list of running processes, including the shell process that was just started:

In[3]:=
Click for copyable input
Out[3]=

Start five system shell processes:

In[1]:=
Click for copyable input
Out[1]=

Show the list of processes that were started using StartProcess:

In[2]:=
Click for copyable input
Out[2]=

Kill all processes that were started using StartProcess:

In[3]:=
Click for copyable input

Check that all processes have actually finished:

In[4]:=
Click for copyable input
Out[4]=

See Also

ProcessObject  StartProcess  KillProcess  ProcessStatus  Streams  Links  Devices  FileNames  Run

Introduced in 2014
(10.0)