HasExited: Boolean;
The HasExited property returns whether the process is completed.
If property returns True, the process is completed. Exit code can be obtained using the IProcess.ExitCode property.
The property use is given in the example for IProcess.Start.
See also: