lazutils: RunCmdFromPath: cut handles when starting process

git-svn-id: trunk@43389 -
This commit is contained in:
mattias 2013-11-07 12:51:08 +00:00
parent 1ae5a24b92
commit 35b07b5533

View File

@ -212,6 +212,7 @@ begin
// run
BrowserProcess := TProcessUTF8.Create(nil);
try
BrowserProcess.InheritHandles:=false;
// Encloses the executable with "" if it's name has spaces
if Pos(' ',ProgramFilename)>0 then
ProgramFilename:='"'+ProgramFilename+'"';