mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 09:00:30 +02:00
* patch (don't call waitprocess if not running) from Mantis 14707
git-svn-id: trunk@14022 -
This commit is contained in:
parent
1992daedd5
commit
e798f1164d
@ -187,8 +187,7 @@ end;
|
|||||||
Function TProcess.GetExitStatus : Integer;
|
Function TProcess.GetExitStatus : Integer;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
If FRunning then
|
GetRunning;
|
||||||
PeekExitStatus;
|
|
||||||
Result:=FExitCode;
|
Result:=FExitCode;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user