Browse Source

* Fix bug ID #0036335: console pops up when getting compiler info

git-svn-id: trunk@43562 -
michael 5 years ago
parent
commit
a23ed797e6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fppkg/src/pkgglobals.pp

+ 1 - 0
packages/fppkg/src/pkgglobals.pp

@@ -366,6 +366,7 @@ begin
 {$ELSE USE_SHELL}
 {$ELSE USE_SHELL}
   S:=TProcess.Create(Nil);
   S:=TProcess.Create(Nil);
   S.Commandline:=ACompiler+' '+AOptions;
   S.Commandline:=ACompiler+' '+AOptions;
+  S.ShowWindow:=swoHIDE;
   S.Options:=[poUsePipes];
   S.Options:=[poUsePipes];
   S.execute;
   S.execute;
   Count:=s.output.read(buf,BufSize);
   Count:=s.output.read(buf,BufSize);