examples: openbrowser: cut handles when starting process

git-svn-id: trunk@43390 -
This commit is contained in:
mattias 2013-11-07 12:51:26 +00:00
parent 35b07b5533
commit 96e13eb9d4

View File

@ -83,6 +83,7 @@ begin
TheProcess:=TProcessUTF8.Create(nil);
try
TheProcess.InheritHandles := false;
TheProcess.Options:= [poUsePipes, poNoConsole, poStdErrToOutput];
TheProcess.ShowWindow := swoNone;
TheProcess.CommandLine:=StartScriptFilename+' '+URL;