This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: "run" changes behavior with cygwin-17.6
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 18 Aug 2010 17:09:20 +0200
- Subject: Re: "run" changes behavior with cygwin-17.6
- References: <380-220108318145158645@cantv.net>
- Reply-to: cygwin at cygwin dot com
On Aug 18 10:21, Rodrigo Medina wrote:
> Hi,
> 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
Looks like the "run" tool now needs a call to
CYGWIN_CONV_TO_POSIX_PATH ((get_cwd (), win32_cwd));
and then use win32_cwd in the call to CreateProcess.
See http://cygwin.com/cygwin-ug-net/using.html#pathnames-win32-api
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
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