debugger: fix for launching apps with spaces in their path by Marc Weustink

git-svn-id: trunk@23483 -
This commit is contained in:
dmitry 2010-01-18 14:20:38 +00:00
parent f576f9dac8
commit dc4551665f

View File

@ -113,7 +113,7 @@ begin
FProcess := TDBGProcess.Create(nil);
try
FProcess.CommandLine := UTF8ToSys(FileName + ' ' + Arguments);
FProcess.CommandLine := UTF8ToSys('"'+FileName + '" ' + Arguments);
FProcess.CurrentDirectory := UTF8ToSys(WorkingDir);
FProcess.Environment.Assign(Environment);
if ShowConsole