delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/06/21/11:20:41

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:message-id:subject:from:to:date:content-type
:mime-version:content-transfer-encoding; q=dns; s=default; b=lBv
1ax2l2suJgGL+y00nRnFpT1PHyjdXGFAitYFKu1TDejP8mpJ8Rkc2aNPS6Ga8LVy
ovINN3tjkIAasv2boYCQggibOznR7so00uJNvgErILn/0fFyT4yvb8cZ4wa/rscv
nvHpBEo8UFb5Mm3cddGfKUYSPSq02OKbz/SPxcGg=
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:message-id:subject:from:to:date:content-type
:mime-version:content-transfer-encoding; s=default; bh=1cgOUUZn+
U7RG8PHvN9BRQHtkGk=; b=Du2OlruvpFgsQ9233ZkqC4jm74YOCypfv8w7W7BKH
+FV1E6/o8IJ9FOcvfBRSY1noG6xVDlt0iZ4pISabBnEMkR6zPSKPZ5vGDpCxPAj8
IXQ+QDbRSfVntonC5tjmwRrGe5MeACa3JotUfBL5t+tJD+ICc612nPZvB+2oOB8q
d4=
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-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=cygwin64
X-HELO: mail-wr1-f51.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:user-agent:mime-version :content-transfer-encoding; bh=AtHk7vV0lxpur4JX7IVFoIUAzN/ihtkhMc00/dj577Q=; b=p2eEPj7D2jvWRlODeU9M+vCX/1pJ1TrdDL8n0uO6zh6cW7zTtyucqg7SOHSoI0YAhx sP2j5nWKIN3o8QtF6nLolj3IDxHXlRL4wSBSsNzTOo8cnzq54sTrg1yEgrA1cKmYMc4T 6ZXmx4XjFy5z+uQxeD3cb2HLIPHnX+aX5UA29G3Tdb4/IBvJ+oouwUX9Gmf8brfeG7r+ wCaLc9PbBmOZwOgJBhr+pewJKecpi5fuouWVA+YgWhLUc+hXYVYM9GNHrXXtO47StcVE CaA9ZPopKXPjVtK5DkKmXpkqz1cXQOHZK3TpHayic7Rda1MN3K5b8Xwu/dUVSS5L9cV1 MIEg==
Message-ID: <5be40c24ed860fb56dc28523f464cadd5068c268.camel@gmail.com>
Subject: Process argument passing problems
From: reiter DOT christoph AT gmail DOT com
To: cygwin AT cygwin DOT com
Date: Fri, 21 Jun 2019 17:19:48 +0200
User-Agent: Evolution 3.30.5-1.1
MIME-Version: 1.0
X-IsSubscribed: yes

Hey everyone,

I have to following problem (using cmd.exe):

C:\cygwin64\home\xy>C:\cygwin64\bin\echo.exe -DFOO=\"BAR\" -DBAR=\"FOO\"
-DFOO=\BAR" -DBAR="FOO"

I would have expected:

-DFOO="BAR" -DBAR="FOO"

Context: I'm executing various cygwin programs through (native) Python and
passing C macros to gcc like 'gcc -DFOO=\"BAR\"' fails because of this.

More background: https://github.com/msys2/MINGW-packages/issues/3548


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