delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/02/18/14:44:03

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:date:from:to:subject:message-id:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=EWlGStAotFw5mnp2JVmqPJu32cxRrHtT87fh51FsVRJ
ygTxOq/SQyMxkvHZesMQcFdmVebk2mN/02VN0orAlNbe3AvrQTqg9HYXRkQx6dd5
AOBAM/2wCqBZ5sr3rkpdWAeF4xxdQdN+oKFTdw8Hpd+hNvvaDAOLJ/GROGGLouKE
=
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:date:from:to:subject:message-id:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
s=default; bh=4qjPjGJzyZQLKA7Ai6Lv0RECBMI=; b=L47PzD/nNXOyrAyXw
7UAXuQUcnHPDaPoHzphZLtFbdeXukmuy3ihQWc1BBeqXeWFaJvRYrLsND79eN2op
mJEFC7PcbQz3N1VcLnCh5ocb9YV2sMq2NBMdBTNOrtCz3yHZGmAs602YU1lHAM1f
MO1Yxd/8fLgFddjGWDY+Bejt6w=
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=-5.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=H*i:sk:tG7wCq9, H*MI:9KVhG, H*MI:sk:wKfcruh, H*f:sk:tG7wCq9
X-HELO: conssluserg-05.nifty.com
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 01IJgrSp012127
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1582054974; bh=bqRWp3hHkuMO3LQgRRWO1cv14sX+qi3m0D0jHvaQ8Co=; h=Date:From:To:Subject:In-Reply-To:References:From; b=slH0w4pz1xpcqSTAmr3WE4rrIrIH5qVIZdW68Bbs7g52AGWYYb2KqXg7LCIQCISHg yInBQBSj37ngrqfaeWg9bwMIJ71fLChCvp8Yt0UMjkyAJYcSN22eVwpNW6h8lxp7Xb KoKmYRIYh6KJJwvA2DP20ormuzi7aKIo2SrPKpwxYxEjQwYgraH/H7it9FtDEAl0+M VbfyQSWbrVGdouxO0fctkbsQAnePfxu+qY+kpUEIMvJPwrtVRmmdygSNmXUSFB3BfJ yWKPxxCubobXPAWO5LLzF+nDfFzxTvKgJ8C2k2GLf4Y689YESm3lxfDslbqTUrJTM9 OdRtwZPbYWBnA==
Date: Wed, 19 Feb 2020 04:43:02 +0900
From: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
To: cygwin AT cygwin DOT com
Subject: Re: Pipes bug when spawning non-cygwin processes
Message-Id: <20200219044302.bd24ffa7af1f159c67583600@nifty.ne.jp>
In-Reply-To: <CAJZe6MBh5mDzb8JDG+tG7wCq9RdU4CcxF01hNW7Qrj4JqjTZNg@mail.gmail.com>
References: <CAJZe6MDdZnE7BNZQWSHgaLo6sbx+9KVhG+wKfcruh_exPaZFLQ AT mail DOT gmail DOT com> <20200131072536 DOT da46ccf9cb52b1afdefa2a9a AT nifty DOT ne DOT jp> <CAJZe6MDszFgBvjhga_WCaTKACk3GWbP-jBGsZ3dd-4vMrQ93iQ AT mail DOT gmail DOT com> <CAJZe6MBh5mDzb8JDG+tG7wCq9RdU4CcxF01hNW7Qrj4JqjTZNg AT mail DOT gmail DOT com>
Mime-Version: 1.0
X-IsSubscribed: yes

On Tue, 18 Feb 2020 14:24:38 -0500
Edward Lam wrote:
> 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.

Could you please provide a simple test case?

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

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