This is the mail archive of the
cygwin
mailing list for the Cygwin project.
bash - command - PATH question
- From: "Rockefeller, Harry" <Harry dot Rockefeller at flightsafety dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Wed, 19 May 2010 08:50:59 -0500
- Subject: bash - command - PATH question
Given that 'foo' is a bash script, why is it that:
$ foo
returns the error:
bash: ./bin/foo: No such file or directory
BUT since foo is *really in* PATH, e.g.,
$ `which foo`
runs correctly?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple