Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 6 Apr 2005 02:09:03 -0700
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
To: cygwin@cygwin.com
Subject: Re: cygwin programs called from non-cygwin programs mauling \" in args
Message-ID: <20050406090903.GA660@efn.org>
References: <20050113064248.GA2416@efn.org> <20050119233410.GA2888@efn.org> <20050120092613.GB4951@cygbert.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050120092613.GB4951@cygbert.vinschen.de>
User-Agent: Mutt/1.4.1i
Organization: bs"d
X-IsSubscribed: yes

On Thu, Jan 20, 2005 at 10:26:13AM +0100, Corinna Vinschen wrote:
> Yitzchak,
> 
> On Jan 19 15:34, Yitzchak Scott-Thoennes wrote:
> > > $ ./nocygparent cygchild
> > > [a\b"c]
> > 
> > Can anybody else confirm this?
> 
> I can.  I already had a look into this.  The command line handling in
> Cygwin is different from the command line handling in MingW or, FWIW,
> VC++ CLI applications.
> 
> The question is if we really should align the rules how a native
> command line is evaluated by a Cygwin process should be aligned
> to Windows rules or not.
> 
> There are three arguments to consider:
> 
> - Using Windows/MingW rules lowers the surprise.
> 
> - Changing the rules at all breaks backward compatibility.
> 
> - Why shouldn't Cygwin applications use their own rules which seem
>   more appropriate for a POSIX application?

Corinna, have you a chance to think about this?  I've come to think that
using the MinGW rules makes most sense.

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

