delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/08/14:20:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <COL102-W1578D201FE6533BCC5000BB5CC0@phx.gbl>
References: <hal2jt$vj3$1 AT ger DOT gmane DOT org> <COL102-W1578D201FE6533BCC5000BB5CC0 AT phx DOT gbl>
Date: Thu, 8 Oct 2009 14:20:33 -0400
Message-ID: <2bf229d30910081120q384b329fs7e24b560bf721947@mail.gmail.com>
Subject: Re: Many Cygwin (mintty) windows - How to close all?
From: Chris Sutcliffe <ir0nh34d AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
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

>> Is there some sort of Cygwin command that -
>> 1. Closes all Mintty windows
>> 2. Unloads services - such as cron
>> 3. Exits X server
>>
>> in short, gets rid of all Cygwin processes so I can update & restart
>> without having to do all this myself.
>>
> I use the attached script (run it elevated on Vista and above) before
> updating with setup. This is only tested on Vista.

Doing a 'kill -9 -1' works for me in terms of getting rid of all my
mintty windows at once.  I'm not sure if it will kill services and
exit the X server as well.

Chris

-- 
Chris Sutcliffe
http://emergedesktop.org

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019