RtProcess.WaitForExitCode Method
Waits for the associated real-time process to terminate. After this API returns, property ExitCode is not guaranteed to contain the exit code of the real-time process. To get the exit code, use one of the WaitForExitCode overloads. It is not sufficient to call RtProcess.WaitForExit and then read property ExitCode.
Overload List
| Name | Description | |
|---|---|---|
|
|
Waits for the thread that gets the exitcode from the Real-Time Process to finish. Unlike WaitForExit() this routine ensures that we've updated the ExitCode property before we return the routine. |
|
|
|
Waits for the thread that gets the exitcode from the Real-Time Process to finish. Unlike WaitForExit() this routine ensures that we've updated the ExitCode property before we return the routine. |
See Also: