* patch (don't call waitprocess if not running) from Mantis 14707

git-svn-id: trunk@14022 -
This commit is contained in:
marco 2009-11-03 22:16:39 +00:00
parent 1992daedd5
commit e798f1164d

View File

@ -187,8 +187,7 @@ end;
Function TProcess.GetExitStatus : Integer;
begin
If FRunning then
PeekExitStatus;
GetRunning;
Result:=FExitCode;
end;