fix for the linux version, run outside, show console

This commit is contained in:
Basile Burg 2015-03-08 18:27:55 +01:00
parent 399c4b38a1
commit d4e63e4fd9
1 changed files with 5 additions and 0 deletions

View File

@ -1297,6 +1297,11 @@ begin
fRunProc.ShowWindow := swoHIDE;
fRunProc.OnReadData := @asyncprocOutput;
fRunProc.OnTerminate:= @asyncprocTerminate;
end else
begin
{$IFDEF LINUX}
fRunProc.Options := fRunProc.Options + [poNewConsole];
{$ENDIF}
end;
dmdproc := TProcess.Create(nil);