소스 검색

* patch (don't call waitprocess if not running) from Mantis 14707

git-svn-id: trunk@14022 -
marco 16 년 전
부모
커밋
e798f1164d
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      packages/fcl-process/src/process.pp

+ 1 - 2
packages/fcl-process/src/process.pp

@@ -187,8 +187,7 @@ end;
 Function TProcess.GetExitStatus : Integer;
 
 begin
-  If FRunning then
-    PeekExitStatus;
+  GetRunning;
   Result:=FExitCode;
 end;