Waits for the specified subprocess object to complete and returns its exit value.
Syntax
waitFor( process )
process.waitFor( )
Parameters
process
|
the process object to wait for.
|
Returns
integer
|
the return value of the specified process object.
|
Example
rc = proc.waitFor( )
|