delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <453597FA.4060806@cygwin.com> |
Date: | Tue, 17 Oct 2006 22:56:58 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060916 Fedora/1.5.0.7-1.fc4.remi Thunderbird/1.5.0.7 Mnenhy/0.7.4.0 |
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> <45358375 DOT 4080805 AT cs DOT berkeley DOT edu> |
In-Reply-To: | <45358375.4080805@cs.berkeley.edu> |
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 |
<http://cygwin.com/acronyms/#TOFU>. Reformatted. Johnathon Jamison wrote: > 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 >> > 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? Given your description, I think the patch would likely be rejected. Certainly if there were a reasonable patch that addressed this issue in a maintainable way, then it would certainly be considered. But it's impossible to say for sure what will and will not be accepted without a patch on which to judge the merits. It is fair to say that if you feel the patch is dubious, others will likely agree. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |