X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 	tests=BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4ACFE190.7000700@biyani.org>
Date: Fri, 09 Oct 2009 20:21:20 -0500
From: Arun Biyani <embedded@biyani.org>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
Newsgroups: gmane.os.cygwin
To: cygwin@cygwin.com
Subject: Re: Many Cygwin (mintty) windows - How to close all?
References: <hal2jt$vj3$1@ger.gmane.org> 	 <COL102-W1578D201FE6533BCC5000BB5CC0@phx.gbl> <2bf229d30910081120q384b329fs7e24b560bf721947@mail.gmail.com>
In-Reply-To: <2bf229d30910081120q384b329fs7e24b560bf721947@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Chris Sutcliffe wrote:
>>> 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
> 
Thanks for the suggestions.
Arun

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

