delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/11/08:51:54

X-Spam-Check-By: sourceware.org
Date: Wed, 11 Oct 2006 08:51:33 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Michael Hoffman <b3i4old02 AT sneakemail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: 1.5.21: rxvt fails to shutdown due to ssh -f still running
In-Reply-To: <egiis5$dms$1@sea.gmane.org>
Message-ID: <Pine.GSO.4.63.0610110848550.26268@access1.cims.nyu.edu>
References: <egiis5$dms$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 Wed, 11 Oct 2006, Michael Hoffman wrote:

> When I log out of or shutdown my Windows login session, if I had a
> background process that I started within a Win32 rxvt session, I get an
> error that rxvt00000<some other hex numbers> has not shut down. For
> example if I use ssh -f or run ssh in the background using &, this
> symptom manifests.
>
> I can also see a related symptom if I am running using a Windows
> console. When I log out of bash, the console window will stick around
> until the ssh process is killed.
>
> I would like for these console windows and hidden rxvt windows to shut
> down without further confirmation. Is there a way to do this? Or a good
> workaround?
>
> I have Googled for this problem, and while I have found other related
> problems (such as ssh-agent continuing to run) I have not found any
> solutions for this case.

"man nohup", "man setsid", in bash: "help disown".
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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