delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/23/13:28:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-Id: <5.2.1.1.2.20030723102245.03d4e2c8@pop.sonic.net>
X-Sender: rschulz AT pop DOT sonic DOT net
Date: Wed, 23 Jul 2003 10:29:14 -0700
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rschulz AT sonic DOT net>
Subject: Re: How to diagnose Cygwin / Windows shutdown problem
In-Reply-To: <003001c3513d$7caa3410$19c3fea9@RAnderson>
Mime-Version: 1.0

Richard,

You know, we heard you the first time...


At 10:02 2003-07-23, Richard Anderson wrote:
>When I start Cygwin 1.3.22-1 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.
>
>I tried using Start / Run / msconfig to disable the startup of all
>applications and rebooting, but the problem persists.  I'm guessing that the
>next step would be to uninstall and reinstall Cygwin.  Any suggestions?

Where do people get this from? Maybe you should buy a brand new PC and 
start by formatting the drives, installing the OS, other applications 
and Cygwin.


Cygwin apps don't know about and cannot respond to the system-generated 
messages that request that applications quit in preparation for the 
system to shut down or the user to log off.

You just have to manually quit running Cygwin applications before 
shutting down Windows.

If you prefer "one-stop shopping", you can initiate shutdown from 
within Cygwin. If that works for you, do something like this:

# Quit all Cygwin applications
% shutdown -r now; exit


There's no man page or info entry for shutdown, so you if you want 
information on its operation, use "shutdown --help":

% shutdown --help
Usage: shutdown [OPTION]... time
Bring the system down.

   -f, --force      Forces the execution.
   -s, --shutdown   The system will shutdown and power off (if supported)
   -r, --reboot     The system will reboot.
   -h, --hibernate  The system will suspend to disk (if supported)
   -p, --suspend    The system will suspend to RAM (if supported)
       --help       Display this help and exit.
       --version    Output version information and exit.

`time' is either the time in seconds or `+' and the time in minutes or a
timestamp in the format `hh:mm' or the word "now" for an immediate action.

To reboot is the default if started as `reboot', to hibernate if started
as `hibernate', to suspend if started as `suspend', to shutdown otherwise.


Good luck.


Randall Schulz


>Richard Anderson


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