Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "John Pollock" <jpollock@curl.com>
To: <cygwin@sourceware.cygnus.com>
Subject: Re: Logging off NT while a bash window is open
Date: Fri, 22 Dec 2000 12:31:21 -0500
Message-ID: <NEBBJPGNBOKKDAEIIMIKCECFCDAA.jpollock@curl.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600

At 12:10 PM 12/22/2000, Weiqi Gao wrote:
>Hi,
>
>I have noticed that my bash window (a CMD.EXE window
>running bash) sometimes won't close when I log off my
>NT 4.0 SP6 workstation, causing a dialog to show up
>for me to do a hard kill on the process.

FWIW, there's a registry key of use here:

HKEY_USERS\.Default\Control Panel\Desktop\AutoEndTasks

if this value is set to "1", then processes get hard killed during a logoff.
In other words, the "Wait, End Task, Cancel" box should never show up once
this value is set.

If you want this to work for an existing user, change
HKEY_CURRENT_USER\Control Panel\etc etc instead of HKEY_USERS\Control
Panel\etc etc

Cheers,
John


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

