mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 04:48:36 +02:00
lazutils: RunCmdFromPath: cut handles when starting process
git-svn-id: trunk@43389 -
This commit is contained in:
parent
1ae5a24b92
commit
35b07b5533
@ -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+'"';
|
||||
|
Loading…
Reference in New Issue
Block a user