delorie.com/archives/browse.cgi | search |
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 |
content-class: | urn:content-classes:message |
MIME-Version: | 1.0 |
Subject: | Shutdown doesn't seem to work when invoked from ssh session |
Date: | Mon, 10 May 2004 07:33:44 -0700 |
Message-ID: | <F05E952D5FF2DB47BE322C5795DEB3E0017189F0@usca1ex-priv1.sanmateo.corp.akamai.com> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
From: | "Egerton, James" <jegerton AT akamai DOT com> |
To: | <cygwin AT cygwin DOT com> |
X-OriginalArrivalTime: | 10 May 2004 14:33:45.0064 (UTC) FILETIME=[CC6B6E80:01C4369B] |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id i4AEegTx022268 |
I've tried using the Cygwin shutdown-1.4 from an ssh session and it doesn't seem to do anything. The call to ExitWindowsEx doesn't appear to fail, but nothing happens after the "WARNING!!!..." message is displayed. I have verified that the system can be rebooted from ssh if InitiateSystemShutdown is called instead of ExitWindowsEx and this appears to be consistent with the ExitWindowsEx description: The ExitWindowsEx function returns as soon as it has initiated the shutdown process. The shutdown or logoff then proceeds asynchronously. The function is designed to stop all processes in the caller's logon session. Therefore, if you are not the interactive user, the function can succeed without actually shutting down the computer. If you are not the interactive user, use the InitiateSystemShutdown or InitiateSystemShutdownEx function. jim -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |