www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Wed, 14 Jan 2009 19:07:59 -0500 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: How do I shut down Cygwin cleanly? |
Message-ID: | <20090115000759.GA7940@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <Pine DOT CYG DOT 4 DOT 58 DOT 0901151022060 DOT 27524 AT mondo> |
MIME-Version: | 1.0 |
In-Reply-To: | <Pine.CYG.4.58.0901151022060.27524@mondo> |
User-Agent: | Mutt/1.5.16 (2007-06-09) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
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 |
Note-from-DJ: | This may be spam |
On Thu, Jan 15, 2009 at 10:37:09AM +1100, john DOT hunter AT utas DOT edu DOT au wrote: > >Thanks Larry, but I'm loath to waste space on this and other lists, and also >people's time by listing any of the knock-on effects of not terminating all >Cygwin processes (and resetting locks etc.) prior to firing up Cygwin again - >it seems reasonable to me that these effects would exist (I've experienced >them) but it also seems largely irrelevant to my present question to discuss >them. This is not a bug report - it is a "howto" request. > >So I'll summarise my original post into a single question: > >When running the latest version of Cygwin on Windows XP, what is the best simple >way of terminating all Cygwin processes, and resetting XP to effectively the >same state as it was before Cygwin was started? Cygwin processes are just windows processes and they are diverse. If you want to stop a running process you use whatever mechanism that process requires for shutdown. There is no one method to properly shut down a process on either Windows, Cygwin, or Linux. If you want to use a brute force technique then you could "kill ; kill -9" every process that you see by running "ps". That could have all sorts of unpleasant side-effects, however. To summarize: There is no one method to accomplish what you seem to be asking. cgf -- 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 |