www.delorie.com/archives/browse.cgi | search |
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: | <COL102-W61D8C8803967127D73029EB5CA0@phx.gbl> |
From: | Karl M <karlm30 AT hotmail DOT com> |
To: | <cygwin AT cygwin DOT com> |
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: | <hal2jt$vj3$1 AT ger DOT gmane DOT org> <COL102-W1578D201FE6533BCC5000BB5CC0 AT phx DOT gbl> |
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 |
<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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |