gow icon indicating copy to clipboard operation
gow copied to clipboard

which not reporting correct location

Open twhitbeck opened this issue 10 years ago • 1 comments

I created a file ls.bat and placed it in a directory on my path.

which ls reports

C:\Program Files (x86)\Gow\bin\ls.EXE

where ls reports

C:\Windows\System32\ls.bat
C:\Program Files (x86)\Gow\bin\ls.exe

If I execute ls, C:\Windows\System32\ls.bat is actually what is getting executed.

twhitbeck avatar May 07 '15 12:05 twhitbeck

This is actually the expected behaviour, works the same way on GNU/Linux. I think it grabs the first match on the path.

gs11 avatar May 07 '15 13:05 gs11