external tools are now searched in PATH

git-svn-id: trunk@4257 -
This commit is contained in:
mattias 2003-06-11 11:45:57 +00:00
parent a56a7db65a
commit f2bdeca834

View File

@ -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