X-Recipient: archive-cygwin@delorie.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@hotmail.com>
To: <cygwin@cygwin.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@ger.gmane.org>  	 <COL102-W1578D201FE6533BCC5000BB5CC0@phx.gbl>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


 <2bf229d30910081120q384b329fs7e24b560bf721947@mail.gmail.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@cygwin.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

