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: References: 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 To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 >> 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