mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-07 07:39:11 +01:00
external tools are now searched in PATH
git-svn-id: trunk@4257 -
This commit is contained in:
parent
a56a7db65a
commit
f2bdeca834
@ -274,8 +274,9 @@ begin
|
||||
if Macros.SubstituteStr(Filename)
|
||||
and Macros.SubstituteStr(WorkingDir)
|
||||
and Macros.SubstituteStr(Params) then begin
|
||||
Filename:=FindProgram(Filename,GetCurrentDir,false);
|
||||
CmdLine:=Filename;
|
||||
if Params<>'' then
|
||||
if Params<>'' then
|
||||
CmdLine:=CmdLine+' '+Params;
|
||||
writeln('[TExternalToolList.Run] ',CmdLine);
|
||||
try
|
||||
|
||||
Loading…
Reference in New Issue
Block a user