KillProcess

KillProcess[proc]

kills the external process represented by the ProcessObject proc.

Details

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

Examples

Basic Examples  (2)

Start the system shell process:

Kill the process:

Check that the process has actually finished:

Start five system shell processes:

Show the list of processes that were started using StartProcess:

Kill all processes that were started using StartProcess:

Check that all processes have actually finished:

Introduced in 2014
 (10.0)