Directory existence prevents .exe execution
Larry Hall (Cygwin)
reply-to-list-only-lh@cygwin.com
Fri Apr 18 03:59:00 GMT 2008
On 04/17/2008, Luke Kendall wrote:
> Mark J. Reed wrote:
> > I still don't understand why you would put the ici dir in the same
> > place as the ici script. You can't do that on Unix, so why do it on
> > Cygwin?
> >
> >
> The creator did this because simply it seemed a convenient way to keep all
> the ici components together and easy to install and uninstall, and it also
> caused no problems for the Windows cmd.exe shell. cmd doesn't try to
> execute directories as if they were programs. ici has been around for
> about 25 years, so it wasn't designed with Cygwin in mind.
Everything didn't have to be named ici though. But that's besides the
point.
Cygwin doesn't attempt to execute directories. It uses stat() to find
out what type of thing "foo" is. Then it uses that information to
decide how to handle "foo".
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list