process.pid

process.pid

process.pid

Function

Read the PID of the started child process.

Syntax

Parameters

No parameters.

Return value

TypeDescription
Int/EmptyReturns PID if a child process has been started; returns Empty if there is no child process handle.

Example

Notes

  • pid will not start the process, only read the existing child handle.