delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Wed, 18 Aug 2010 17:09:20 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: "run" changes behavior with cygwin-17.6 |
Message-ID: | <20100818150920.GY11340@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <380-220108318145158645 AT cantv DOT net> |
MIME-Version: | 1.0 |
In-Reply-To: | <380-220108318145158645@cantv.net> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |