delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/01/30/17:26:40

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=HmMzouW/dgLHTmBOwMnvIm71cV+nY9IoARbrkrFrXU9
ZzG6vCmVungpWqsavB34oABBb+ayW21JYS4sf+a3ACMjq/p3dk3/1hgmqgdQSsUD
hbu4zbaxDnPxW35+DfOnbsfmqjK0NSjuL1HswSePkCV/pCqFbIiD0LUrKDRnXBCM
=
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=YmiQc4MmTlzVx/yTT3YHstBfMv4=; b=iywWpClfutH2R/XIh
j02O3OmsODgd4dRJf4tWazoC3YupUtqFxot7Ms6MzHx43IhywZ/WC6u1XAQeRB4C
9SNGqcqvj0fjp18mT/BIbktA8bd36Js/UktT5wv3b6mCvIhz8leGcgFDWCFSBt8l
zq8NR/8qKFOufRg/IRWRsNzcNE=
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=-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
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: Fri, 31 Jan 2020 07:25:36 +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: <20200131072536.da46ccf9cb52b1afdefa2a9a@nifty.ne.jp>
In-Reply-To: <CAJZe6MDdZnE7BNZQWSHgaLo6sbx+9KVhG+wKfcruh_exPaZFLQ@mail.gmail.com>
References: <CAJZe6MDdZnE7BNZQWSHgaLo6sbx+9KVhG+wKfcruh_exPaZFLQ AT mail DOT gmail DOT com>
Mime-Version: 1.0
X-IsSubscribed: yes

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