system() just calls "sh" not "/bin/sh"

Corinna Vinschen vinschen@redhat.com
Tue Jan 11 22:44:00 GMT 2005


On Jan 11 15:57, Christopher Faylor wrote:
> The linux man page explicitly says that system should run /bin/sh.
> SUSv3 doesn't come out and say that but it seems to imply it.
> 
> If I change this then it will be more correct but possibly there will be
> later howls of indignation.
> 
> Any thoughts on this?  I'm inclined just to change it.  The downside of
> changing it are the howls, the upside is that a random 'sh' in your path
> will no longer be called and system will be ever-so-slightly faster.

Sonds good.  Go ahead.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Cygwin-developers mailing list