Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Process
Process.create_process

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.