diff --git a/packages/fpmkunit/src/fpmkunit.pp b/packages/fpmkunit/src/fpmkunit.pp index 181051e443..10c9f69efe 100644 --- a/packages/fpmkunit/src/fpmkunit.pp +++ b/packages/fpmkunit/src/fpmkunit.pp @@ -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