mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 19:29:26 +02:00
Add poWaitOnExit option to TProcess inside GetCompilerInfo
git-svn-id: trunk@32244 -
This commit is contained in:
parent
fa3b0ca312
commit
f4cf58739f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user