This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sh


Earnie Boyd wrote:
> 
> --- Bob McGowan <rmcgowan@veritas.com> wrote:
> > Using a soft link doesn't work from within a shortcut or bat file.  So I need
> > (I think) to make a complete copy of of sh.exe to '-sh', but without the
> > .exe, the Windows
> > environment won't execute it.
> >
> > Any other ideas?  I'm fresh out.(
> >
> 
> Get the ash source and fix it so that your copy to -sh.exe works.

I don't understand the problem here. ash only checks for the first
character of argv[0] being a '-' character to read the profiles.
I copied sh.exe to -sh.exe as well to run ash as login shell on a
NT 3.51 system on which bash crashed for some reason.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:cygwin@sources.redhat.com
Red Hat, Inc.
mailto:vinschen@redhat.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]