From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7556 invoked by alias); 20 Mar 2014 22:35:31 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 7540 invoked by uid 89); 20 Mar 2014 22:35:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: tx2outboundpool.messaging.microsoft.com Received: from tx2ehsobe005.messaging.microsoft.com (HELO tx2outboundpool.messaging.microsoft.com) (65.55.88.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 20 Mar 2014 22:35:17 +0000 Received: from mail170-tx2-R.bigfish.com (10.9.14.247) by TX2EHSOBE002.bigfish.com (10.9.40.22) with Microsoft SMTP Server id 14.1.225.22; Thu, 20 Mar 2014 22:35:14 +0000 Received: from mail170-tx2 (localhost [127.0.0.1]) by mail170-tx2-R.bigfish.com (Postfix) with ESMTP id C7479E039F for ; Thu, 20 Mar 2014 22:35:14 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.249.197;KIP:(null);UIP:(null);IPV:NLI;H:AM2PRD0210HT001.eurprd02.prod.outlook.com;RD:none;EFVD:NLI X-SpamScore: 1 X-BigFish: PS1(z21eI579ehzzz1f42h208ch1ee6h1de0h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6hzz177df4h17326ah8275bh1de097h186068hz2fh109h2a8h839h944hd24hf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h18e1h1946h19b5h19ceh1ad9h1b0ah224fh1d07h1d0ch1d2eh1d3fh1dc1h1de9h1dfeh1dffh1e1dh1fe8h1ff5h2216h22d0h2336h2461h2487h24d7h2516h2545h255eh25cch25f6h2605h262fh9a9j1155h) Received-SPF: pass (mail170-tx2: domain of dnvgl.com designates 157.56.249.197 as permitted sender) client-ip=157.56.249.197; envelope-from=mark.weber@dnvgl.com; helo=AM2PRD0210HT001.eurprd02.prod.outlook.com ;.outlook.com ; X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009001)(6009001)(428001)(199002)(189002)(5423002)(15202345003)(66066001)(74502001)(47446002)(87936001)(31966008)(74662001)(56816005)(81542001)(15395725003)(2656002)(90146001)(85306002)(74316001)(81686001)(80976001)(74366001)(15975445006)(81816001)(74706001)(74876001)(19580395003)(79102001)(83322001)(80022001)(59766001)(63696002)(20776003)(65816001)(69226001)(97186001)(97336001)(77096001)(76482001)(93136001)(81342001)(56776001)(94946001)(54316002)(93516002)(76796001)(76786001)(92566001)(47736001)(49866001)(46102001)(77982001)(87266001)(4396001)(47976001)(86362001)(50986001)(53806001)(76576001)(94316002)(95666003)(95416001)(51856001)(76176001)(33646001)(54356001)(83072002)(85852003)(24736002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM3PR02MB115;H:AM3PR02MB113.eurprd02.prod.outlook.com;FPR:BBA6D9E8.2D360779.F1DC1FBB.44E77983.20174;MLV:sfv;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Received: from mail170-tx2 (localhost.localdomain [127.0.0.1]) by mail170-tx2 (MessageSwitch) id 1395354912425932_24436; Thu, 20 Mar 2014 22:35:12 +0000 (UTC) Received: from TX2EHSMHS023.bigfish.com (unknown [10.9.14.236]) by mail170-tx2.bigfish.com (Postfix) with ESMTP id 57FCC3A006E for ; Thu, 20 Mar 2014 22:35:12 +0000 (UTC) Received: from AM2PRD0210HT001.eurprd02.prod.outlook.com (157.56.249.197) by TX2EHSMHS023.bigfish.com (10.9.99.123) with Microsoft SMTP Server (TLS) id 14.16.227.3; Thu, 20 Mar 2014 22:35:09 +0000 Received: from AM3PR02MB115.eurprd02.prod.outlook.com (10.242.243.145) by AM2PRD0210HT001.eurprd02.prod.outlook.com (10.255.164.36) with Microsoft SMTP Server (TLS) id 14.16.423.0; Thu, 20 Mar 2014 22:35:07 +0000 Received: from AM3PR02MB113.eurprd02.prod.outlook.com (10.242.243.140) by AM3PR02MB115.eurprd02.prod.outlook.com (10.242.243.145) with Microsoft SMTP Server (TLS) id 15.0.898.11; Thu, 20 Mar 2014 22:35:07 +0000 Received: from AM3PR02MB113.eurprd02.prod.outlook.com ([169.254.7.202]) by AM3PR02MB113.eurprd02.prod.outlook.com ([169.254.7.202]) with mapi id 15.00.0898.005; Thu, 20 Mar 2014 22:35:07 +0000 From: "Weber, Mark" To: "cygwin@cygwin.com" Subject: Re: batch script execution failing with 255 exit code in cygwin 1.7.28 Date: Fri, 21 Mar 2014 00:37:00 -0000 Message-ID: x-forefront-prvs: 01565FED4C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: dnvgl.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% X-SW-Source: 2014-03/txt/msg00373.txt.bz2 I am also having some trouble with the latest version of Cygwin, which incl= udes=20 this patch. See http://cygwin.com/ml/cygwin-patches/2014-q1/msg00017.html for example. I am having a related issue, with C++ code that parses the command line. The command line we support is something like - program_name arg1 -option1=3Dval1 -option2=3Dval2 ... You get the idea. Now, with the above mentioned Cygwin patch, we are seeing the input argumen= ts arg1 "-option1=3Dval1" "-option2=3Dval2" ... If this were the extent of the issue, it would be no big deal to=20 strip off the quotes. However, the user may have put quotes on the=20 command line himself, which Cygwin now moves around. Such as: program_name arg1 -option1=3D"file name with spaces in it" With the patch, is there any way to reliably tell what the user entered=20 on the command line? -- 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