mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 01:57:57 +02:00
codetools: fixed UTF8 for RunTool
git-svn-id: trunk@26909 -
This commit is contained in:
parent
08521ea248
commit
4075c56ad3
@ -1177,7 +1177,7 @@ begin
|
||||
debugln(['RunTool ',Filename,' ',Params]);
|
||||
TheProcess := TProcess.Create(nil);
|
||||
try
|
||||
CmdLine:=UTF8ToSys(Filename);
|
||||
CmdLine:=Filename;
|
||||
if (System.Pos(' ',CmdLine)>0) and (CmdLine[1]<>'"') then
|
||||
CmdLine:='"'+CmdLine+'"';
|
||||
if Params<>'' then
|
||||
|
Loading…
Reference in New Issue
Block a user