X-Recipient: archive-cygwin@delorie.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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=yk8b/08FUPlRtLdA
	2pH+sH3ywIoYyScoOmnWlU7kbLOztcOt/W9igBHQ0tLtbIiumPyY4gWZFtsbSah6
	K8srUGITISlgYWguyKkVxwXXOsjZ9EZIfTCW6jUadBoLhkWEOCBNCpVErHK2svEx
	d/Ti/3+nn/z1oRC31f2flueAgdA=
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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=3anXzbRHOjdj7PE8Ey10V/
	4Kf7A=; b=KqDJP6SHIiapwfBARDptPVtuzPFxh4UcGimUCK0kvMMA1fGaIHmvIl
	9ICvL3JRWrGYYpyyrMk4VfMXAIOBkdfNxi4g8a1gGF72W33T8/1xfGN0YN4VMR2g
	iGhnjMLckI2kVGN+gcPxavDeGitb0jYF+K4k7tYUJjbqGvJigFa+M=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=impression, H*f:sk:008f01d, H*i:sk:008f01d, H*MI:sk:008f01d
X-HELO: mail-wm0-f54.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:subject:to:references:from:message-id:date         :user-agent:mime-version:in-reply-to:content-transfer-encoding;        bh=DmQwCLCz1Ug6V6Juc+2tdU4K46VMf/NH9M5KbECf2yw=;        b=afkVD9CWEleWZ60hMB5CoU/LAGLnXilwgYuMxIM0CFa5bIyJmVVzHR5PGeQ4IjY9Rp         52Io6SHHFhWxDRSbjAbLjeccG0YAol5RzGkL2TYYHLxAZMXZzcq0eB/9VnVViC4wAnB+         h9Rix9b5UavjOlAs4uvY0IEq3KqYEzTWuIm+s4MvFp8Jt5vDAEIffYSeoSVmnN8TBKG4         OFEPH85AYLSB0pHFsvH91Y+LoQaEb42P1CpcjSalOk0Kc7sbNAUYkwIqOUmj58fxhuIB         GAs87Qe0Zlds7rCx28IqQuWk3hOJtoRk9L3emJcuV/5tpx9FVjLEHdOKaYE2JBvzhiP5         V/DQ==
X-Gm-Message-State: AOPr4FXRcTX8ed9q78iqZlGlb1jFtajxs3p28hBvFnjLy57/4LEHqhgvJ5aH9K+8Q9RLFA==
X-Received: by 10.28.29.147 with SMTP id d141mr12017668wmd.91.1462809730179;        Mon, 09 May 2016 09:02:10 -0700 (PDT)
Subject: Re: Formatting command line arguments when starting a Cygwin process from a native process
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
References: <005c01d1a6e2$30270ba0$907522e0$@metastack.com> <CACoZoo1LObZ0zu9X5O6dV4cO4jN+GO28bdRbuDkTMdaKHXpVbQ@mail.gmail.com> <000101d1a76d$c37c6b80$4a754280$@metastack.com> <967954968.20160506172040@yandex.ru> <006301d1a834$6ccd1380$46673a80$@cantab.net> <6e1f2ba2-0c8e-4659-4c5a-d748e90c1ced@lysator.liu.se> <8d8fe966-caeb-491c-32e7-fc48ccd56d74@gmail.com> <008f01d1aa0a$6b163f30$4142bd90$@cantab.net>
From: Marco Atzeri <marco.atzeri@gmail.com>
Message-ID: <21af49f2-f685-828c-6bd4-8d734eedf378@gmail.com>
Date: Mon, 9 May 2016 18:02:01 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <008f01d1aa0a$6b163f30$4142bd90$@cantab.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 09/05/2016 17:49, David Allsopp wrote:
> 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
>

Hi David,
I am puzzled, I had the impression you asked:
"I am trying to work out the precise details for character escaping when
starting a Cygwin process from a native (i.e. non-Cygwin) Windows process."

So the exec should be on "Windows process" side,
why inside the Cygwin DLL ?

Regards
Marco


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

