mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 09:49:35 +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
|
begin
|
||||||
S:=TProcess.Create(Nil);
|
S:=TProcess.Create(Nil);
|
||||||
S.Commandline:=ACompiler+' '+AOptions;
|
S.Commandline:=ACompiler+' '+AOptions;
|
||||||
S.Options:=[poUsePipes];
|
S.Options:=[poUsePipes,poWaitOnExit];
|
||||||
S.execute;
|
S.execute;
|
||||||
Count:=s.output.read(buf,BufSize);
|
Count:=s.output.read(buf,BufSize);
|
||||||
if (count=0) and ReadStdErr then
|
if (count=0) and ReadStdErr then
|
||||||
|
Loading…
Reference in New Issue
Block a user