This is the mail archive of the
mailing list for the Cygwin project.
Re: Cygwin prevents normal Windows shutdown
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Richard Anderson <richard at richard-anderson dot org>
- Cc: cygwin at cygwin dot com
- Date: Wed, 23 Jul 2003 17:34:32 -0400 (EDT)
- Subject: Re: Cygwin prevents normal Windows shutdown
- Reply-to: cygwin at cygwin dot com
On Mon, 21 Jul 2003, Richard Anderson wrote:
> When I start Cygwin 1.3.22-1 with the installed shortcut (which points to
> C:\cygwin\cygwin.bat) and then try to shut down Windows XP using the normal
> Start / Turn Off Computer procedure, Windows pops up the "End Program -
> Cygwin ... Windows cannot end this program" dialog box. The cygwin ps
> command shows only a bash shell running.
> Is there some way to prevent this behavior?
> Richard Anderson
Apparently, bash doesn't react to the shutdown message that Windows XP
sends it. I've observed similar behavior with Windows 9x. Can you close
the bash window via the 'X' ("Close") button? If not, then it's possible
that the correct WM_CLOSE message simply isn't passed to or handled by the
bash shell (and any other console Cygwin process). On Windows NT/2k,
using the 'X' button sends a HUP signal to the shell. This doesn't seem
to happen on Windows 9x (and, possibly, Windows XP -- I don't have an XP
system to test this on). You could try to incite someone knowledgeable in
Windows messaging (not me, sorry) to investigate this further.
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html