delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/17/21:29:42

X-Spam-Check-By: sourceware.org
Message-ID: <45358375.4080805@cs.berkeley.edu>
Date: Tue, 17 Oct 2006 18:29:25 -0700
From: Johnathon Jamison <jjamison AT cs DOT berkeley DOT edu>
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Bash fails to run .bat file with spaces in pathname and argument
References: <452D5DF0 DOT 9070605 AT cs DOT berkeley DOT edu> <452D8FE7 DOT 9090705 AT byu DOT net> <452DABED DOT 5030409 AT cs DOT berkeley DOT edu> <5c8adab70610112003m34b68694n3a80a05a1187bce4 AT mail DOT gmail DOT com>
In-Reply-To: <5c8adab70610112003m34b68694n3a80a05a1187bce4@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 think that you are right in saying this is not a cygwin bug.  Upon 
further investigation, it seems it is a cmd misfeature.  Would a patch 
to oddly quote things that spawn_guts "knew" would be passed off to cmd 
be accepted, given that it would not be a fix, but a kludgy workaround? 
  Or would it be rejected on the grounds that it would possibly 
introduce instability and future traps?

Johnathon

Sean Daley wrote:
> 
> I'm not sure if it was ever fully decided that this was a cygwin bug since
> windows cmd can also exhibit similar behavior.
> 
> I was the original poster back then.  I eventually just worked around
> the issue by
> writing a native executable that did the same things the batch job was
> supposed to do.  Chris' suggestion of shell scripts also works as well.
> 
> Sean
> 


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

- Raw text -


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