X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <98f79fac1002190437g5fec3138mb2c7e24d8f03212a@mail.gmail.com>
References: <98f79fac1002180955m1ddea014id0b27cc3b909a17a@mail.gmail.com> 	 <4B7D80B3.4000300@cygwin.com> 	 <98f79fac1002181224g7987690dn6822d025d1a59405@mail.gmail.com> 	 <4B7DA704.1080709@cygwin.com> 	 <98f79fac1002190437g5fec3138mb2c7e24d8f03212a@mail.gmail.com>
Date: Fri, 19 Feb 2010 13:40:48 +0100
Message-ID: <98f79fac1002190440r70b09b15j95520d05fa11d73d@mail.gmail.com>
Subject: Re: CreateProcess() - executed program gets different argument  	depending if it's compiled with gcc (cygwin) or cl (VS)?
From: Piotr Krukowiecki <piotr.krukowiecki.news@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
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

On Fri, Feb 19, 2010 at 1:37 PM, Piotr Krukowiecki wrote:
>>> "\\hostname" is remote path location, I don't think I can use
>>> "//hostname" instead, either for cygwin program and especially not for
>>> not-cygwin program, can I? (can't check it now)
>>
>> With Windows, you're free to use either path separator. =A0With Cygwin,
>> you're life will be easier if you use '/' though it will accept '\' too =
if
>> properly escaped.
>
> ok, so it works for paths - but what about other arguments, that are

And even for paths the results might be different - i.e. the program
might interpret "//foo" differently than "\\foo" - e.g. as an option.

--=20
Piotr Krukowiecki

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

