delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/05/09/11:50:30

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=uro6TkBy3BJ9iPkDvk3qyk+vMEnFhWjcn8fCfNGDIJK
6TyDLzAtLP3kk0B6fUfFetFo35EtlVUwnE6Q6dM0hf/PUUQgyOs2Gf6Pf3bXriss
RkSZL/9MhiX46fvcAez5QTyJkuo1dBmV12QGl4aSJhsN0YPa1Xks1xhJMvCY3m4E
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
s=default; bh=/3mBWCb/elznXUXpIo80pyQj/Uc=; b=sQFjiEcHID+BC8MEl
9Fm3DiTXcYQLY0BW/3pD6CiZ7USm8MZC8ltQn5YxvHrZ6MTyYGS+SmqDF8ydGeip
/KtM5XcY4zGzlz7t+q8uuHeguZV7ohpSi9vTCBfmYUXick4cvKnsxwT7DYXtmBic
JANzqhzN1X9VArmcAsK7d5fnNM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL autolearn=ham version=3.3.2 spammy=H*i:sk:8d8fe96, H*f:sk:8d8fe96, mechanisms, H*UA:Outlook
X-HELO: outmail149115.authsmtp.co.uk
From: "David Allsopp" <dra27 AT cantab DOT net>
To: "'Marco Atzeri'" <marco DOT atzeri AT gmail DOT com>, <cygwin AT cygwin DOT com>
References: <005c01d1a6e2$30270ba0$907522e0$@metastack.com> <CACoZoo1LObZ0zu9X5O6dV4cO4jN+GO28bdRbuDkTMdaKHXpVbQ AT mail DOT gmail DOT com> <000101d1a76d$c37c6b80$4a754280$@metastack.com> <967954968 DOT 20160506172040 AT yandex DOT ru> <006301d1a834$6ccd1380$46673a80$@cantab.net> <6e1f2ba2-0c8e-4659-4c5a-d748e90c1ced AT lysator DOT liu DOT se> <8d8fe966-caeb-491c-32e7-fc48ccd56d74 AT gmail DOT com>
In-Reply-To: <8d8fe966-caeb-491c-32e7-fc48ccd56d74@gmail.com>
Subject: RE: Formatting command line arguments when starting a Cygwin process from a native process
Date: Mon, 9 May 2016 16:49:47 +0100
Message-ID: <008f01d1aa0a$6b163f30$4142bd90$@cantab.net>
MIME-Version: 1.0
X-Server-Quench: a9eb6f9c-15fd-11e6-829e-00151795d556
X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse
X-AuthRoute: OCd1ZAARAlZZVg1A VQsPBSlcQA9jIBBQ FxoeKRdbOF4EFV4Q JB4LaX9aIRpGHQgH E2cNUVBdWlhxF2F0 aBRQbQBDYEtMQQRr VFdLR01TWkBsCGpf WG9PUhFxcQBENn1z YEIsD3kODkIsfBVg Q0sCQXAHZDJmdWgd WRVFdwNVdQJNdxoR b1V5GhF4a3VxOTg9 FhMvPjY+dT5YLSFc RA1FKVMUTA4CBDEh Qh0EAS5nAk0IQW0o MxU8Nl8aEw4Yem4j PkQgXxoAKRgZBxZF V09XByoRLhEHTjYq Ew4SRVQZGzBGWk8A
X-Authentic-SMTP: 61633634383431.1037:706
X-AuthFastPath: 0 (Was 255)
X-AuthSMTP-Origin: 213.105.212.114/25
X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system.
X-IsSubscribed: yes

Marco Atzeri wrote:
> 
> Ultimate overview of MS escape howto :
> 
> https://blogs.msdn.microsoft.com/twistylittlepassagesallalike/2011/04/23/e
> veryone-quotes-command-line-arguments-the-wrong-way/

This is a great article (which I'd not come across before), but this relates
to Microsoft's mechanisms for quoting which aren't applicable here - it's
definitely the Cygwin DLL which does it!


David 



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019