This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: "run" changes behavior with cygwin-17.6


On 18 August 2010 15:51, Rodrigo Medina wrote:
> After upgrading to cygwin17.6 the program run changes behavior.
> For example:
> If I start mintty with the followin .bat
>
> Â Â Â Â@echo off
> Â Â Â ÂC:
> Â Â Â Âchdir \cygwin\bin
> Â Â Â Ârun mintty -e '/bin/bash' --login -i
> Â Â Â Âexit
>
> In the mintty window that is started appears the following message:
>
> /bin/find: failed to restore initial working directory: No such file or
> directory

You can invoke mintty with the cmd.exe built-in 'start' instead of
'run'. Even better, just invoke it directly from a shortcut rather
than from a .bat script, which also avoids a console window flashing
up briefly. The 'mintty' package in setup.exe automatically creates a
suitable shortcut under Cygwin in the start menu.

Andy

--
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


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