"run" changes behavior with cygwin-17.6
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Aug 18 15:09:00 GMT 2010
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
More information about the Cygwin
mailing list