This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: "run" changes behavior with cygwin-17.6
- From: Andy Koppe <andy dot koppe at gmail dot com>
- To: rodmedina at cantv dot net, cygwin at cygwin dot com
- Date: Wed, 18 Aug 2010 16:51:21 +0100
- Subject: Re: "run" changes behavior with cygwin-17.6
- References: <380-220108318145158645@cantv.net>
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