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 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> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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/