mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 07:26:24 +02:00
+ Fixed PeekExitStatus
This commit is contained in:
parent
9fad381d29
commit
29bae36989
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user