mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 19:39:28 +02:00
examples: openbrowser: cut handles when starting process
git-svn-id: trunk@43390 -
This commit is contained in:
parent
35b07b5533
commit
96e13eb9d4
@ -83,6 +83,7 @@ begin
|
|||||||
|
|
||||||
TheProcess:=TProcessUTF8.Create(nil);
|
TheProcess:=TProcessUTF8.Create(nil);
|
||||||
try
|
try
|
||||||
|
TheProcess.InheritHandles := false;
|
||||||
TheProcess.Options:= [poUsePipes, poNoConsole, poStdErrToOutput];
|
TheProcess.Options:= [poUsePipes, poNoConsole, poStdErrToOutput];
|
||||||
TheProcess.ShowWindow := swoNone;
|
TheProcess.ShowWindow := swoNone;
|
||||||
TheProcess.CommandLine:=StartScriptFilename+' '+URL;
|
TheProcess.CommandLine:=StartScriptFilename+' '+URL;
|
||||||
|
Loading…
Reference in New Issue
Block a user