delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/02/06:44:11

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Thu, 2 Jun 2011 06:43:40 -0400
Message-ID: <BANLkTi=Ts9mMzReuWxq6z6QrT2SiL8Cz-A@mail.gmail.com>
Subject: Mercurial not returning with 20110601 snapshot
From: Chris Sutcliffe <ir0nh34d AT gmail DOT com>
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
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

Testing the 20110601 snapshot I've run in to an issue where Mercurial
(specifically python) will not return to the command line when the
command completes:

csutclif AT bmotec3017201lt:[/usr/src/emerge/default] $ uname -a
CYGWIN_NT-5.1 BMOTEC3017201LT 1.7.10s(0.248/5/3) 20110601 01:49:05 i686 Cygwin
csutclif AT bmotec3017201lt:[/usr/src/emerge/default] $ hg pull -u
running ssh ir0nh34d AT emerge DOT hg DOT sourceforge DOT net "hg -R
hgroot/emerge/emerge serve --stdio"
pulling from ssh://ir0nh34d AT emerge DOT hg DOT sourceforge DOT net/hgroot/emerge/emerge
searching for changes
no changes found

I have to Ctrl-C to get back to the prompt, doing a ps -efa in a
second window I see that the python process is still active (before
the Ctrl-C):

csutclif AT bmotec3017201lt:[~] $ ps -efa
     UID     PID    PPID  TTY        STIME COMMAND
csutclif    1840       1 ?        06:30:38 /usr/bin/mintty
csutclif    5984    1840 tty0     06:30:38 /usr/bin/mksh
csutclif    4172    1840 ?        06:38:06 /usr/bin/mintty
csutclif    3884    4172 tty1     06:38:07 /usr/bin/mksh
csutclif    5304    5984 tty0     06:41:19 /usr/bin/python
csutclif    5620    5304 tty0     06:41:19 /usr/bin/ssh
csutclif    4952    3884 tty1     06:42:13 /usr/bin/ps

I'm guessing this is related to the recent changes to pipe handling?

Cheers,

Chris

-- 
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d

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