X-Recipient: archive-cygwin AT delorie DOT 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 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 Newsgroups: gmane.os.cygwin To: cygwin AT cygwin DOT com Subject: Re: Many Cygwin (mintty) windows - How to close all? References: <2bf229d30910081120q384b329fs7e24b560bf721947 AT mail DOT gmail DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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