From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48202 invoked by alias); 18 Feb 2020 19:43:09 -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 48194 invoked by uid 89); 18 Feb 2020 19:43:08 -0000 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 Received: from conssluserg-05.nifty.com (HELO conssluserg-05.nifty.com) (210.131.2.90) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 18 Feb 2020 19:43:06 +0000 Received: from Express5800-S70 (ntsitm196171.sitm.nt.ngn.ppp.infoweb.ne.jp [125.0.207.171]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 01IJgrSp012127 for ; Wed, 19 Feb 2020 04:42:54 +0900 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: Tue, 18 Feb 2020 19:43:00 -0000 From: Takashi Yano To: cygwin@cygwin.com Subject: Re: Pipes bug when spawning non-cygwin processes Message-Id: <20200219044302.bd24ffa7af1f159c67583600@nifty.ne.jp> In-Reply-To: References: <20200131072536.da46ccf9cb52b1afdefa2a9a@nifty.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00140.txt.bz2 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 -- 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