X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o- Date: Thu, 2 Jun 2011 08:27:25 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Mercurial not returning with 20110601 snapshot Message-ID: <20110602122725.GA23446@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Thu, Jun 02, 2011 at 06:43:40AM -0400, Chris Sutcliffe wrote: >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? Like other guesses about this: not necessarily. Could you provide the actual steps needed to duplicate the problem, assuming that anyone doing testing will not be familiar with mercurial? cgf -- 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