X-Spam-Check-By: sourceware.org
Subject: Re: 'run' command quirks
From: Alexander Gottwald <Alexander DOT Gottwald AT s1999 DOT tu-chemnitz DOT de>
To: cygwin AT cygwin DOT com
In-Reply-To: <Pine.GSO.4.63.0603310910550.8753@access1.cims.nyu.edu>
References: 	 <20060329080243 DOT fb30e530d17747c2b054d625b8945d88 DOT 2650412c0c DOT wbe AT email DOT email DOT secureserver DOT net> 	 <442CAC78 DOT 60006 AT byu DOT net> 	 <Pine DOT GSO DOT 4 DOT 63 DOT 0603310910550 DOT 8753 AT access1 DOT cims DOT nyu DOT edu>
Content-Type: text/plain
Date: Fri, 31 Mar 2006 16:40:14 +0200
Message-Id: <1143816014.9386.12.camel@zipoli.prudsys.com>
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Spam-Score: -1.4 (-)
X-Spam-Report: --- Start der SpamAssassin 3.1.1 Textanalyse (-1.4 Punkte) 	Fragen an/questions to:  Postmaster TU Chemnitz <postmaster AT tu-chemnitz DOT de> 	-1.4 ALL_TRUSTED            Nachricht wurde nur ueber vertrauenswuerdige Rechner 	weitergeleitet 	--- Ende der SpamAssassin Textanalyse
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
Precedence: bulk
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 Fri, 2006-03-31 at 09:17 -0500, Igor Peshansky wrote:
> 
> run has no problem with /cygdrive (it's linked with cygwin1.dll, after
> all).  What confuses it are the spaces in the path.  From a quick look at
> the run source, it parses the command line twice -- once to skip the
> executable name, and the other to determine the name of the program to run

Problems are the quotes. It tries to find 

"/cygdrive/c/Program Files/vim/gvim".exe


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/