Explorar o código

* Use ExeSearch instead of FileSearch to find process executable

git-svn-id: trunk@12951 -
joost %!s(int64=16) %!d(string=hai) anos
pai
achega
0721235ab3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/fcl-process/src/unix/process.inc

+ 1 - 1
packages/fcl-process/src/unix/process.inc

@@ -281,7 +281,7 @@ begin
           end;
 
         if not FileExists(PName) then begin
-          FoundName := FileSearch(Pname,fpgetenv('PATH'));
+          FoundName := ExeSearch(Pname,fpgetenv('PATH'));
           if FoundName<>'' then
             PName:=FoundName
           else