|
@@ -20,7 +20,8 @@ end;
|
|
Function TProcess.PeekExitStatus : Boolean;
|
|
Function TProcess.PeekExitStatus : Boolean;
|
|
|
|
|
|
begin
|
|
begin
|
|
- Result:=GetExitStatus=Still_Active;
|
|
|
|
|
|
+ GetExitCodeProcess(Handle,FExitCode);
|
|
|
|
+ Result:=(FExitCode=Still_Active);
|
|
end;
|
|
end;
|
|
|
|
|
|
Function TProcess.GetHandle : THandle;
|
|
Function TProcess.GetHandle : THandle;
|