WaitTimeout: Integer;
The WaitTimeout property determines the amount of time that the program will wait for the started application to complete its work.
WaitTimeout is enabled if the WaitToTerminate property is set to True. The WaitTimeout property is set to -1 by default, and the waiting lasts for an indefinite time. If any time is set in the WaitTimeout property, the current application is available again when the time is expired.
Value of the WaitTimeout property is specified in milliseconds.
The example of use is given in description of the WaitToTerminate property.
See also: