From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97198 invoked by alias); 30 Jan 2020 22:25:50 -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 97191 invoked by uid 89); 30 Jan 2020 22:25:49 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-4.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1200, UD:ne.jp, H*i:9KVhG, Pipes X-HELO: conssluserg-02.nifty.com Received: from conssluserg-02.nifty.com (HELO conssluserg-02.nifty.com) (210.131.2.81) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 30 Jan 2020 22:25:47 +0000 Received: from Express5800-S70 (ntsitm196171.sitm.nt.ngn.ppp.infoweb.ne.jp [125.0.207.171]) (authenticated) by conssluserg-02.nifty.com with ESMTP id 00UMPVJc028307 for ; Fri, 31 Jan 2020 07:25:31 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 00UMPVJc028307 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1580423131; bh=AYqHA45KdQV4n5kDwusjO6j/SXv+xmi42bccDxvc/VY=; h=Date:From:To:Subject:In-Reply-To:References:From; b=D/qf0Us5dr9zT4GyFSZUs+zBhrzbrVqj3KAxuKOtHc3p77vms+LlyZIetVHO3X1Vf M/YkAI6JYnsRloLr04enoSnyD4xWO7q1eNP2yLpWlXyM7XVxPWi+HdXd7A3wNzo3Cq Y4QTM2XnP0I9l/On2v9ehsAIdB9a0RHKTZvFODR7IhRcaaXyLSOAzF/GHWHksGuPkH 7c7GiJA4bkuYhWHkaom+ItMATdLE9hJ27r61DOcrvU0BaChTreBGZhfOmfRPEJni+o D3Vi5hQoOz7n7527ePdf7l3Rl1hYJeDvPkrJuuokzyeHXg2b5WwtTzu5r6T9P14IMu kLZY0x8MwgD3g== Date: Thu, 30 Jan 2020 22:25:00 -0000 From: Takashi Yano To: cygwin@cygwin.com Subject: Re: Pipes bug when spawning non-cygwin processes Message-Id: <20200131072536.da46ccf9cb52b1afdefa2a9a@nifty.ne.jp> In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00322.txt.bz2 On Thu, 30 Jan 2020 14:03:50 -0500 Edward Lam wrote: > I'm getting a problem where cygwin parent processes spawning non-cygwin > child processes no longer detect when stdin has been closed. Please see the > sample python code at the end where I've isolated the problem. I've got > cygwin's python2 running spawn_bar.py that popen's a native non-cygwin > python2 running bar.py. The steps to reproduce are to run this command > using the two files detailed at the end of this email: > > $ python2 spawn_bar.py > > On Windows 10, this command quits right away as expected when using cygwin > 3.0.7 but hangs when using cygwin 3.1.2 (version number as reported from > running `cygcheck -c cygwin`). > > Looking through the release logs, nothing sticks out except for the change > in 3.1.0 that mentions PTY changes. However, when I originally ran into > this, it wasn't even being done through a terminal but some background > script. > > Any ideas? 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/ -- 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