delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/09/21:21:41

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 <embedded AT biyani DOT org>
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: <hal2jt$vj3$1 AT ger DOT gmane DOT org> <COL102-W1578D201FE6533BCC5000BB5CC0 AT phx DOT gbl> <2bf229d30910081120q384b329fs7e24b560bf721947 AT mail DOT gmail DOT com>
In-Reply-To: <2bf229d30910081120q384b329fs7e24b560bf721947@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019