mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 06:09:29 +02:00
IDE: fixed TProcess flags for windows
git-svn-id: trunk@45304 -
This commit is contained in:
parent
8db63f148a
commit
37a1e9a9c3
@ -567,8 +567,10 @@ begin
|
||||
inherited Create(aOwner);
|
||||
FWorkerOutput:=TStringList.Create;
|
||||
FProcess:=TProcessUTF8.Create(nil);
|
||||
{$IF FPC_FULLVERSION<20604}
|
||||
FProcess.InheritHandles:=false;
|
||||
FProcess.Options:= [poUsePipes];
|
||||
{$ENDIF}
|
||||
FProcess.Options:= [poUsePipes{$IFDEF Windows},poStderrToOutPut{$ENDIF}];
|
||||
FProcess.ShowWindow := swoHide;
|
||||
fExecuteBefore:=TFPList.Create;
|
||||
fExecuteAfter:=TFPList.Create;
|
||||
@ -1102,6 +1104,9 @@ begin
|
||||
end;
|
||||
|
||||
// run and detach
|
||||
{$IF FPC_FULLVERSION<20604}
|
||||
Proc.InheritHandles:=false;
|
||||
{$ENDIF}
|
||||
Proc.Options:=Proc.Options+[poNoConsole];
|
||||
try
|
||||
Proc.Execute;
|
||||
|
Loading…
Reference in New Issue
Block a user