klyn.process.ProcessHandle.waitForExit
method
public waitForExit(timeout as ULong = 0ul) as Boolean
Description

Waits for exit; milliseconds, 0 means infinite. Requires WAIT.

Returns

False on timeout. close does not terminate or cancel a concurrent wait.

Example

exited = task.waitForExit(500ul)