delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/13/07:13:29

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4DF5CF06.5010701@charter.net>
References: <4DF5CF06 DOT 5010701 AT charter DOT net>
Date: Mon, 13 Jun 2011 12:13:01 +0100
Message-ID: <BANLkTimECb6zdSEZJZhWm=Vb3TLk871vTQ@mail.gmail.com>
Subject: Re: We have a "cygstart" -- why not a "cygstop"?
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
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

On 13 June 2011 09:49, SJ Wright wrote:
> Or does such an idea go too much against the grain of "let's keep Cygwin as
> much of a Unix as possible?"
>
> At the very least, it would cut through all the rigamorole of "kill"-ing
> pids that were likely to return errors.
>
> Comments?

Here you go:

alias cygstop '/bin/kill -f'

(See also 'man kill'. Unfortunately Cygwin's version of 'kill' is
usually hidden by a shell builtin, which is why the /bin/ is needed.)

Regards,
Andy

--
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