WaitProgram()

Syntax

Result = WaitProgram(Program [, Timeout])
Description
Halts the execution of the code until the specified program (started before with RunProgram()) has ended or the optional timeout (in milliseconds) is reached.

Return value

Returns nonzero if the program has ended and zero if the timeout was reached.

Supported OS

All

<- SetEnvironmentVariable() - Process Index - WriteProgramData() ->