Pike v8.0 release 1738

Method Process.create_process()->status()


Method status

int(-1..2) status()

Description

Returns the status of the process:

-1

Unknown

0

Running

1

Stopped

2

Exited

Note

Prior to Pike 7.5 the value 1 was returned for exited processes.