mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 14:29:29 +02:00
lazhelp: cut handles when starting process
git-svn-id: trunk@43388 -
This commit is contained in:
parent
b25aa3842e
commit
1ae5a24b92
@ -210,6 +210,7 @@ begin
|
||||
DebugLn(['TLHelpConnection.StartHelpServer ',cmd]);
|
||||
{$ENDIF}
|
||||
with TProcessUTF8.Create(nil) do begin
|
||||
InheritHandles := false;
|
||||
ShowWindow:=swoShowNormal;
|
||||
CommandLine := Cmd;
|
||||
Execute;
|
||||
|
@ -283,6 +283,7 @@ begin
|
||||
// Exit;
|
||||
|
||||
Proc := TProcessUTF8.Create(nil);
|
||||
Proc.InheritHandles := false;
|
||||
{$if (fpc_version=2) and (fpc_release<5)}
|
||||
Proc.CommandLine := Lazbuild+' '+WS+' '+PCP+' '+LHelpProject;
|
||||
{$else}
|
||||
@ -539,6 +540,7 @@ begin
|
||||
end;
|
||||
Proc := TProcessUTF8.Create(nil);
|
||||
try
|
||||
Proc.InheritHandles := false;
|
||||
{$if (fpc_version=2) and (fpc_release<5)}
|
||||
Proc.CommandLine := GetHelpExe + ' ' + Format(fHelpExeParams, [FileName, Url]);
|
||||
{$else}
|
||||
|
Loading…
Reference in New Issue
Block a user