delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/10/13:35:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Envelope-To: cygwin AT cygwin DOT com
X-Comment-To: Randall R Schulz
To: Randall R Schulz <rrschulz AT cris DOT com>
Cc: Dmitry Bely <dbely AT mail DOT ru>, cygwin AT cygwin DOT com
Subject: Re: Multiple backslashes
References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020210090253 DOT 00aa0608 AT pop3 DOT cris DOT com>
<5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020210090253 DOT 00aa0608 AT pop3 DOT cris DOT com>
<5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020210095957 DOT 023d7eb0 AT pop3 DOT cris DOT com>
From: Dmitry Bely <dbely AT mail DOT ru>
Date: 10 Feb 2002 21:33:16 +0300
In-Reply-To: <5.1.0.14.2.20020210095957.023d7eb0@pop3.cris.com>
Message-ID: <heoprxub.fsf@mail.ru>
Lines: 34
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service (Windows))
MIME-Version: 1.0

Randall R Schulz <rrschulz AT cris DOT com> writes:

> What I said is accurate. However, in the absence of any explicit
> mention on your part, I assumed you were issuing the commands you
> specified from a Cygwin shell. It now appears you are entering them
> into CMD.exe.
> 
> If I'm not mistaken, arguments are processed differently in Cygwin
> binaries when they are invoked from a Windows program than they are
> when invoked by another Cygwin process. Someone who knows better (or
> the manual...) will have to supply details, it's a mode of operation I
> never encounter (CMD.exe offends me deeply...). I have a vague
> recollection that there is a CYGWIN environment variable option that
> controls or supresses or modifies this behavior somehow--I'm even less
> sure about this than I am about the variant argument processing itself.

OK, I will look into it.

> I believe this is why you're experiencing difficulties. You'll have to
> familiarize yourself with the special argument processing in the
> Windows ->
> 
> Cygwin transition.
> 
> Or, you can do what I strongly suggest to everyone who'll listen:
> DON'T USE CMD.EXE!

Thank you very much for you comments, but I must repeat that in my case
XEmacs calls  bash -c "..." _directly_ via CreateProcess() with _exactly_
the same results. So I still tend to consider the necessity of "\\\\" as a
bug.

Hope to hear from you soon,
Dmitry



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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