process.wait

process.wait

process.wait

Function

Wait for the started child process to exit.

Syntax

Parameters

No parameters.

Return value

TypeDescription
Int/EmptyReturns the exit code if there is a child process; returns Empty if there is no child process handle.

Example

Notes

  • This method blocks the current process until the child process exits.