How do I shut down Cygwin cleanly?
Larry Hall (Cygwin)
reply-to-list-only-lh@cygwin.com
Thu Jan 15 00:33:00 GMT 2009
john.hunter@utas.edu.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/
More information about the Cygwin
mailing list