mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:39:31 +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;
|
||||
|
||||
begin
|
||||
If FRunning then
|
||||
PeekExitStatus;
|
||||
GetRunning;
|
||||
Result:=FExitCode;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user