X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_05,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: Content-Type: multipart/mixed; boundary="_7efa4915-f596-4c7c-a9bc-ba610242ff5f_" From: Karl M To: Subject: RE: Many Cygwin (mintty) windows - How to close all? Date: Thu, 8 Oct 2009 10:30:13 -0700 In-Reply-To: References: MIME-Version: 1.0 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 --_7efa4915-f596-4c7c-a9bc-ba610242ff5f_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable > From: news > Subject: Many Cygwin (mintty) windows - How to close all? > Date: Thu, 8 Oct 2009 11:05:16 -0500 > > 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. ...Karl =20=09=09=20=09=20=20=20=09=09=20=20 _________________________________________________________________ Hotmail: Trusted email with Microsoft=92s powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141664/direct/01/ --_7efa4915-f596-4c7c-a9bc-ba610242ff5f_ Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="cygwin-shutdown" IyEvYmluL2Jhc2gKCiMgU3RvcCBhbGwgQ3lnd2luIHNlcnZpY2VzLgpmb3Ig c2VydmljZSBpbiAkKGN5Z3J1bnNydiAtLWxpc3QgMj4vZGV2L251bGwpOyBk bwogIGVjaG8gU3RvcHBpbmcgdGhlICRzZXJ2aWNlIHNlcnZpY2UuCiAgY3ln cnVuc3J2IC0tc3RvcCAkc2VydmljZSAmPi9kZXYvbnVsbApkb25lCgojIFN0 b3AgYWxsIEN5Z3dpbiBwcm9jZXNzZXMgZXhjZXB0IHRoaXMgYmFzaCBzaGVs bCBhbmQgaXRzIHBhcmVudC4KZWNobyBTdG9wcGluZyBDeWd3aW4gcHJvY2Vz c2VzLgovYmluL2tpbGwgLTkgYHBzIC1lIHwgcGVybCAtbmUgInMvLio/KFxk KykuKi9cMS8gJiYgISBtLyQkLyAmJiAhIG0vJFBQSUQvICYmIHByaW50ImAg Jj4vZGV2L251bGwK --_7efa4915-f596-4c7c-a9bc-ba610242ff5f_ Content-Type: text/plain; charset=us-ascii -- 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 --_7efa4915-f596-4c7c-a9bc-ba610242ff5f_--