delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/17/23:08:22

X-Recipient: archive-cygwin AT delorie DOT 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 AT mail DOT gmail DOT 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 DOT hadf AT gmail DOT com>
To: Cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019