delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/19/18:55:12

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: bash, rxvt and interactive shells not exiting as expected
Date: Tue, 19 Dec 2006 23:54:54 -0000
Message-ID: <004201c723c9$14c67ea0$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <em9tdn$pp7$1@sea.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On 19 December 2006 23:43, Jason Curl wrote:

> Now, AFAICT rxvt should be starting bash as a login shell in interactive
> mode. When I close the window from RXVT, a SIGHUP should be sent to
> bash, and according to the manpages from bash this should also cause
> SIGHUPs to all the other processes (e.g. effectively stopping everything
> from "log.sh"). I've also tried setting "shopt -s huponexit" but this
> doesn't have the effect I need.
> 
> Instead, what I see is that after the RXVT shell is closed, there are
> still at least the first two processes that were started in the
> background are still running! I had expected them to quit.
> 
> Any ideas?

  See this thread:

http://www.google.co.uk/search?q=Re%3A+Bash+process+remains+after+I+close+rxvt
+in+certain+ways&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8&cli
ent=firefox-a&rls=org.mozilla:en-GB:official

particularly http://www.cygwin.com/ml/cygwin/2006-12/msg00211.html

  Dunno if the test version is out yet.  Haven't looked.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019