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:

Wolfram Research (2014), KillProcess, Wolfram Language function, https://reference.wolfram.com/language/ref/KillProcess.html.

Text

Wolfram Research (2014), KillProcess, Wolfram Language function, https://reference.wolfram.com/language/ref/KillProcess.html.

CMS

Wolfram Language. 2014. "KillProcess." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/KillProcess.html.

APA

Wolfram Language. (2014). KillProcess. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/KillProcess.html

BibTeX

@misc{reference.wolfram_2024_killprocess, author="Wolfram Research", title="{KillProcess}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/KillProcess.html}", note=[Accessed: 30-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_killprocess, organization={Wolfram Research}, title={KillProcess}, year={2014}, url={https://reference.wolfram.com/language/ref/KillProcess.html}, note=[Accessed: 30-December-2024 ]}