ProcessInformation

ProcessInformation[proc]

gives information about an external process proc.

ProcessInformation[proc,"prop"]

gives information about the property "prop".

Details

Examples

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]=

See Also

ProcessStatus  ProcessObject  Processes  KillProcess

Introduced in 2014
(10.0)