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:message-id:subject:from:to:date:in-reply-to
	:references:content-type:mime-version:content-transfer-encoding;
	 q=dns; s=default; b=uiGkqt0VO2IcCVCUOvNB1yqYCpGJ/o0F4EwH55zmlNF
	JhQuYIOnhTwk0+yX+Lu+SH8kTiJPVF3RgEKcAB9FWt0id6Ovxojy3MKC1X1i0aem
	Vhdrv9y4qmEtQNmLryawOD3JpOLisk+EcAZMvpxs9XBZRPqI+7e7SxzJlHdxvdVo
	=
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:in-reply-to
	:references:content-type:mime-version:content-transfer-encoding;
	 s=default; bh=dKRzzDTc+yyEZv5AkiTP+esNE9E=; b=TbFfs2J1G6t/jexBH
	JYZknxcCnKlGd8o0b3XLhWNH//0wL2iosY2dgIkLPMzC6RLq7NLjsjTeQax7t0Og
	C9ibIVbPsUdSF+QUlYJ4Q7Nn4eT4pBEy9DfLP4nOJBGld5XleZb0Ih8F0u5cf/eh
	wp73yw9Ue6V7QhfGE3jdBZsoLM=
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-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=
X-HELO: mail-wr1-f54.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=20161025;        h=message-id:subject:from:to:date:in-reply-to:references:user-agent         :mime-version:content-transfer-encoding;        bh=nylKjB+MMnmBsIRWf+zT1OlCDPPHypBlBfxjOqeC8/A=;        b=XaHFsnmynb0VBhhCiPGkhCkFpsIHZk4+Nk7diX7qNKDtijvEckMeGPAGZ/FUV13JbN         t93NcGyS0hDo4waYBn/nLD/q3slgTYz7QVmiUPOO90TlWOR94A861AT0u2ZeX6teAXdn         jHRfaAZXRLAtcNNICQfMveEuu5NDrB3YN5guWEkEsgzgzNkTkm4cjV7Yi3+mvpCsystM         OO5OuifZIJ1VK+S41nzaGE0tDt6anT0x0Cnk1D+sk6YiWhLyX2vztwaOaiofiKlNXTrH         iYX24ACcFwOVa96XaMm4xiMcqy5ohaiJvUpWo6h0ycyW7Ffdaj2jC7nIboMaNCO92ozp         y3eQ==
Message-ID: <cde8423302074c07027fb4587cae805519dc8dc4.camel@gmail.com>
Subject: Re: Process argument passing problems
From: reiter.christoph@gmail.com
To: cygwin@cygwin.com,
        Hans-Bernhard =?ISO-8859-1?Q?Br=F6ker?=	 <HBBroeker@t-online.de>,
        Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Date: Sat, 22 Jun 2019 10:41:36 +0200
In-Reply-To: <5be40c24ed860fb56dc28523f464cadd5068c268.camel@gmail.com>
References: <5be40c24ed860fb56dc28523f464cadd5068c268.camel@gmail.com>
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.30.5-1.1
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On Fri, 2019-06-21 at 17:19 +0200, reiter.christoph@gmail.com wrote:
> Hey everyone,
> 
> I have to following problem (using cmd.exe):
> 

I've now converted the example to a C program (compiles with mingw and msvc):

https://gist.github.com/lazka/3d828f9ed3bdf6b981eeb5edca65c657

The output is included. In case I missed any potential problems, please tell me!


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

