X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: From: Karl M To: Subject: RE: Many Cygwin (mintty) windows - How to close all? Date: Sat, 10 Oct 2009 09:08:32 -0700 In-Reply-To: <2bf229d30910081120q384b329fs7e24b560bf721947@mail.gmail.com> References: 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 <2bf229d30910081120q384b329fs7e24b560bf721947 AT mail DOT gmail DOT com> Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 > Date: Thu=2C 8 Oct 2009 14:20:33 -0400 > Subject: Re: Many Cygwin (mintty) windows - How to close all? > From: Chris > To: 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=2C 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. > Hi All... =20 I tried "kill -9 -1" and it worked (bash builtin)=2C but "/bin/kill -9 -1" segfaulted. In both cases=2C I was running elevated on Vista with CYGWIN_NT-6.0 Coyote 1.7.0(0.214/5/3) 2009-10-03 14:33 i686 Cygwin =20 Thanks=2C =20 ...Karl =0A= _________________________________________________________________=0A= Hotmail: Trusted email with Microsoft=92s powerful SPAM protection.=0A= http://clk.atdmt.com/GBL/go/177141664/direct/01/= -- 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