IDE: external tool read output: clean up

git-svn-id: trunk@35824 -
This commit is contained in:
mattias 2012-03-08 15:06:14 +00:00
parent 563622504f
commit 05ee14b0ab

View File

@ -399,8 +399,7 @@ begin
// no new input, but process still running
Sleep(30);
end;
end;
if (TheAsyncProcess=nil) and (fProcess.Output<>nil) then begin
end else if (TheAsyncProcess=nil) and (fProcess.Output<>nil) then begin
// using a blocking TProcess
Count:=fProcess.Output.NumBytesAvailable;
if (Count=0) and (not fProcess.Running) then