This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Logging off NT while a bash window is open


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]