ProcessInformation

ProcessInformation[proc]
gives information about an external process proc.

ProcessInformation[proc,"prop"]
gives information about the property .

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Start the system shell process:

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

Write the exit command into the shell process:

In[2]:=
Click for copyable input

Retrieve the process exit code:

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

Start the system shell process:

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

Use ProcessInformation to get the process exit code:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)