Add poWaitOnExit option to TProcess inside GetCompilerInfo

git-svn-id: trunk@32244 -
This commit is contained in:
pierre 2015-11-04 21:51:14 +00:00
parent fa3b0ca312
commit f4cf58739f

View File

@ -2561,7 +2561,7 @@ var
begin
S:=TProcess.Create(Nil);
S.Commandline:=ACompiler+' '+AOptions;
S.Options:=[poUsePipes];
S.Options:=[poUsePipes,poWaitOnExit];
S.execute;
Count:=s.output.read(buf,BufSize);
if (count=0) and ReadStdErr then