modified cygwin.bat for rxvt - window does not stay up in 1.7.2
j8raa6t5a9@snkmail.com
j8raa6t5a9@snkmail.com
Thu Mar 25 14:41:00 GMT 2010
Corinna Vinschen wrote at 21:20 +0100 on Mar 24, 2010:
> On Mar 24 20:16, Andy Koppe wrote:
> > Andy Koppe:
> > > j8raa6t5a9:
> > >> I updated to 1.7.2 and the cygwin.bat I modified ages ago to run rxvt does not work anymore. The window pops up and quickly disappears (I'm using\
Windows XP).
> > >>
> > >> cygwin.bat looks like:
> > >> @echo off
> > >> C:
> > >> chdir C:\cygwin\bin
> > >> rxvt -e bash --login -i
> > >
> > > Does changing 'bash' to '/bin/bash' make a difference?
> >
> > Answering my own question: yes.
> >
> > There was a change in execvp()'s behaviour to no longer look up an
> > executable in the current working directory, wasn't there? I can't
> > find it in the ChangeLog though.
Yes, adding full paths to anything I exec fixes it for me.
In reality, I use ssh-agent, too, so it becomes:
ssh-agent /bin/rxvt -e /bin/bash --login -i
> Missed it by *that* much. I will add it to the release announcement for
> 1.7.2-2.
Thanks.
--
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
More information about the Cygwin
mailing list