Process.Wait (gb)
Sub Wait ( [ Timeout As Float ] )
Waits for the end of the process, like the
WAIT option in
SHELL and
EXEC instructions.
-
Timeout is an optional timeout in seconds. If not specified, the function will wait forever, until the process terminates.
The event loop is not called while waiting from the process end, but the process events are raised.