X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <9555dcad0909172002o1eead853h6f28127224a4d05d@mail.gmail.com>
References: <9555dcad0909172002o1eead853h6f28127224a4d05d@mail.gmail.com>
Date: Fri, 18 Sep 2009 15:08:12 +1200
Message-ID: <9555dcad0909172008m392af703o78fa4f5329c95b39@mail.gmail.com>
Subject: Cygwin 1.7: cygstart does not recognise App Paths
From: Mark Hadfield <mark.hadf@gmail.com>
To: Cygwin <cygwin@cygwin.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

I note with interest that in Cygwin 1.7 cygstart does not recognise
entries in the App Paths list, whereas in Cygwin 1.5 it does.

For example I have the following entry in my app paths list, pointing
to my favourite text editor:

$ regtool --verbose list
"/HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/App
Paths/TextPad.exe"
=A0(REG_SZ) =3D "C:\Program Files\TextPad 5\TextPad.exe"

Under Cygwin 1.5, "cygstart textpad" starts up an instance of the
editor. Under Cygwin 1.7 it does not, instead looking for an
executable in the current directory.

$ cygstart textpad
Unable to start 'C:\Documents and Settings\hadfield\textpad': The
specified file was not found.

It's not an issue with cygstart being stricter with the name, as
"cygstart TextPad" and "cygstart TextPad.exe" also fail.

Is this change deliberate?


--
Mark Hadfield
51 Volga St
Wellington 6023, NZ

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

