delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/14/18:45:05

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <496E7883.9080003@cygwin.com>
Date: Wed, 14 Jan 2009 18:42:59 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20090101 Remi/2.0.0.19-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: How do I shut down Cygwin cleanly?
References: <Pine DOT CYG DOT 4 DOT 58 DOT 0901151022060 DOT 27524 AT mondo>
In-Reply-To: <Pine.CYG.4.58.0901151022060.27524@mondo>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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?

It depends on what you're running.  If you've just started a Cygwin shell or
shells, exiting them is enough.  If you have a Cygwin service or services
running, then you must stop them (with 'cygrunsrv --stop' or 'net stop').
If you have X running, you must exit X (typically through the menu on the
X taskbar item).  If you have a combination of these running, then you
must do some combination of them.  This will return you to a state where
cygwin1.dll is not loaded anymore, which is the same process state
relative to Cygwin as you were before you started any of them.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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