delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/23/11:59: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://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
Date: Sat, 23 Apr 2005 17:59:32 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Using shutdown-1.6-1 does not seem to shutdown!!!
Message-ID: <20050423155932.GS3485@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT OSF DOT 4 DOT 21 DOT 0504222108080 DOT 10518-100000 AT ax0rm1 DOT roma1 DOT infn DOT it>
Mime-Version: 1.0
In-Reply-To: <Pine.OSF.4.21.0504222108080.10518-100000@ax0rm1.roma1.infn.it>
User-Agent: Mutt/1.4.2i

On Apr 22 21:37, Angelo Graziosi wrote:
> 
> I have tried shutdown-1.6-1. Now it seems to work in the sense that
> 
>    shutdown now
>    shutdown 5
>     ...     30
>     etc.
> 
> starts the procedure of shutdown, i.e. disconnets the user, saves the
> configuration... . When it seems it is being to turn off the PC, Windows
> says (in low resoultion)
> 
>     Now it is possible to turn off the computer

Thanks for the report.  This only happens on Win2K apparently.  On XP
and 2K3 the system powers off as one would expect.  However, the
InitiateSystemShutdown function is the better choice usually because
it allows to warn all users and to abort the shutdown.

I've uploaded a new version of shutdown which allows to use ExitWindowsEx
on NT systems by giving the -x option to shutdown.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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