Pike v8.1 release 6

Method Process.create_process()->wait()


Method wait

int wait()

Description

Waits for the process to end.

Returns
(0..)

The exit code of the process.

-1

The process was killed by a signal.

-2

The process is stopped.

See also

TraceProcess()->wait()