process.try_wait

process.try_wait

process.try_wait

Function

Non-blocking check to see if the started child process has exited.

Syntax

Parameters

No parameters.

Return value

TypeDescription
Int/EmptyReturns the exit code if exited; returns Empty if it is still running or has no child process handle.

Example

Notes

  • try_wait does not block waiting for the process to end.