X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=xGk+F5gQMmRLHnIp
	keQBaSEsMvz66ue1q2HQknYaa8PGMUBDIzGaiPr39a1r4/DQLsc+glSF1xhiGxvd
	NXqKGqRVOyT73l/5XB6vgVxXKn65oe8TIGJvJwDjuupgmta+ux7iKjt856hX8S7d
	GYdCIUywiTAio7HcJ7/oKHlEFR0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=rM0ewdlpU2IDZ1rqMS1CCe
	UxWWI=; b=FoEc65tcrgVLt7TxIT4nkP8ki6z6lsccy0dGLSJ6Jn8yHSOmrLyqkm
	qZlNTM8GIFv44FPk+Vadcvu0L9vGdp58jyuaZQlwZSpbVTVZps+8PQwvJSRpvup+
	hf3xMnNrrOh5BYbrvoWEK5dQJUMeIhqqE455L8K66/oZfNSN2Sips=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=3.2 required=5.0 tests=AWL,BAYES_60,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,RDNS_NONE,SPF_SOFTFAIL autolearn=no version=3.3.1
Date: Tue, 16 Jul 2013 21:04:02 +0400
From: Andrey Repin <anrdaemon@freemail.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <1112683295.20130716210402@mtu-net.ru>
To: All <cygwin@cygwin.com>
Subject: Re: Issue with run.exe and PWD with spaces since last update (Cygwin 1.7.21)
In-Reply-To: <295777180.20130716202913@mtu-net.ru>
References: <295777180.20130716202913@mtu-net.ru>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, All!

> I'm trying to execute a script that was working fine until recent update.
> It doesn't crash, just, for some reason, trim the last component of a path.

Sorry, it doesn't "trim" anything. The line was from earlier guess, before I
started to run more tests.

> In a nutshell, the issue is this:

> $ mkdir "/a b"
> $ cd "/a b"
> $ ls -l "$SYSTEMROOT/System32/notepad.exe"
> (just to confirm that the file actually exists)
> $ run "$SYSTEMROOT/System32/notepad.exe"
> Error pops up:

> ---------------------------
> Run.exe
> ---------------------------
> Error: could not start C:\Programs\CygWin\a b

> ---------------------------
> OK
> ---------------------------


> $ cygcheck.exe -f /bin/run.exe
> run-1.2.0-1

> $ cygcheck.exe -c run
> Cygwin Package Information
> Package              Version        Status
> run                  1.2.0-1        OK

Reverting to previous version of package doesn't help.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 16.07.2013, <21:02>

Sorry for my terrible english...


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

