mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:29:28 +02:00
+ Fixed PeekExitStatus
This commit is contained in:
parent
9fad381d29
commit
29bae36989
@ -20,7 +20,8 @@ end;
|
||||
Function TProcess.PeekExitStatus : Boolean;
|
||||
|
||||
begin
|
||||
Result:=GetExitStatus=Still_Active;
|
||||
GetExitCodeProcess(Handle,FExitCode);
|
||||
Result:=(FExitCode=Still_Active);
|
||||
end;
|
||||
|
||||
Function TProcess.GetHandle : THandle;
|
||||
|
Loading…
Reference in New Issue
Block a user