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:mime-version:references:in-reply-to:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=V3EqlKc
	8YNs4PK0f8R7L5DhEBGkMnBuJ/he4DZc+xOemdTJnT+GkUg2rtuFcj3pGb4XYuXW
	aKd++Jueaj5dtqpCPxUESziHXzHJY0gVZT/FtzSiJqkE2tyN2Nfog94fa3mn2zYB
	y/uIqlZohinZ5mdwYBxerHwrhLJibHZtVGKw=
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:mime-version:references:in-reply-to:from:date
	:message-id:subject:to:content-type; s=default; bh=yMLMrvkjtW+5U
	3SOq+EyU76kpdY=; b=VgvixyOJCGcZOF60pagYbuBHAjJ0dvD6kDI0E+6ehhBX+
	77L0z2ka7F3RtVZGEDcwbPM1+jCQRZvBm+bDYrJo+cpaFXin+4Fu2+EMKk66Bvfz
	TzRHFfKAO8n/qzIt1ShH6tIw+wCniGdtLNQxmzcsRBtPRLzxZwHZ/XQ5sc1B8o=
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.1 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=store!, ideas, edward, www.cygwin.com
X-HELO: mail-ed1-f46.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=20161025;        h=mime-version:references:in-reply-to:from:date:message-id:subject:to;        bh=vlMCqy/698paTSywMyY6Ke19Y9lDGNcyNnDzjdISZBU=;        b=T/BA+vVUogS9RGljrZ9PAPLlhwtEAmx2CZZ+HmJArNTWs2c+b+cPnUdXg4Rblh0X+D         ENAkcay0GK0Fr6NNibNuYf1xderpjhY3Jj/LeRWUAjA3KruidJJwwOswYp8N+6+6bYxY         3M1YtE0mTnY77XC0zy2qRDta8mrE4AB9zzLwd/PaZMFDNDa1vVoCwLkPeOouGjrBCiRD         eZh6FBsUpwGSWINoIs2eCSRew1dCXfObG5Wko9C4WDeJGCPkxjWRJQJ8ZwPTQ1dGMbUM         +PtZo8RoCiEifAbiQLWfnCI4cM6RRH3Fl+YnnxjbBdBKXpwa3yjQ/InuLL8T/iH9Q5Zn         VPuA==
MIME-Version: 1.0
References: <CAJZe6MDdZnE7BNZQWSHgaLo6sbx+9KVhG+wKfcruh_exPaZFLQ@mail.gmail.com> <20200131072536.da46ccf9cb52b1afdefa2a9a@nifty.ne.jp> <CAJZe6MDszFgBvjhga_WCaTKACk3GWbP-jBGsZ3dd-4vMrQ93iQ@mail.gmail.com>
In-Reply-To: <CAJZe6MDszFgBvjhga_WCaTKACk3GWbP-jBGsZ3dd-4vMrQ93iQ@mail.gmail.com>
From: Edward Lam <triplequadsupport@gmail.com>
Date: Tue, 18 Feb 2020 14:24:38 -0500
Message-ID: <CAJZe6MBh5mDzb8JDG+tG7wCq9RdU4CcxF01hNW7Qrj4JqjTZNg@mail.gmail.com>
Subject: Re: Pipes bug when spawning non-cygwin processes
To: cygwin@cygwin.com
Content-Type: text/plain; charset="UTF-8"
X-IsSubscribed: yes

Hi Folks,

I'm noticing a different problem with pipes that isn't fixed even in the
latest 2020-02-12 cygwin1.dll snapshot. When a native graphical Windows
process is launched (in the foreground without & in the command line) from
mintty/bash, the STARTUPINFO structure for the child Windows process
correctly has the STARTF_USESTDHANDLES bit set into info.dwFlags BUT both
info.hStdInput and info.hStdOutput handles are 0, only info.hStdError is
assigned to a handle. So in the older cygwin versions, this application's
printf() calls go out to the shell as desired but not anymore.

Any ideas?

-Edward

On Fri, Jan 31, 2020 at 1:25 AM Edward Lam <triplequadsupport@gmail.com>
wrote:

> On Thu, Jan 30, 2020 at 5:25 PM Takashi Yano <takashi.yano@nifty.ne.jp>
> wrote:
>
>> Probably, this is the same issue as
>> https://www.cygwin.com/ml/cygwin/2020-01/msg00093.html.
>>
>> Please try latest cygwin snapshot.
>> https://cygwin.com/snapshots/
>>
>>
> Indeed, this works again after  20202401 snapshot!
>
> Thanks,
> -Edward
>


-- 
Support GOToronto by rating us in the App Store!

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

