WOLFRAM

ProcessStatus
ProcessStatus

Unsupported in Public Cloud

gives the current status of the external process represented by the ProcessObject proc.

ProcessStatus[proc,"status"]

returns True if the process has the status given and returns False otherwise.

Details

  • Possible status values are "Running" and "Finished".

Examples

Basic Examples  (2)Summary of the most common use cases

Start the system shell process:

Out[1]=1

Get the current status for the given process:

Out[2]=2

Kill the shell process:

Check that the process has actually finished:

Out[4]=4

Start the system shell process:

Out[1]=1

Get a Boolean telling whether a program is running or not:

Out[2]=2
Wolfram Research (2014), ProcessStatus, Wolfram Language function, https://reference.wolfram.com/language/ref/ProcessStatus.html.
Wolfram Research (2014), ProcessStatus, Wolfram Language function, https://reference.wolfram.com/language/ref/ProcessStatus.html.

Text

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

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

CMS

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

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

APA

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

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

BibTeX

@misc{reference.wolfram_2025_processstatus, author="Wolfram Research", title="{ProcessStatus}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/ProcessStatus.html}", note=[Accessed: 08-July-2025 ]}

@misc{reference.wolfram_2025_processstatus, author="Wolfram Research", title="{ProcessStatus}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/ProcessStatus.html}", note=[Accessed: 08-July-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_processstatus, organization={Wolfram Research}, title={ProcessStatus}, year={2014}, url={https://reference.wolfram.com/language/ref/ProcessStatus.html}, note=[Accessed: 08-July-2025 ]}

@online{reference.wolfram_2025_processstatus, organization={Wolfram Research}, title={ProcessStatus}, year={2014}, url={https://reference.wolfram.com/language/ref/ProcessStatus.html}, note=[Accessed: 08-July-2025 ]}