delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/23/20:49:17

X-Spam-Check-By: sourceware.org
Message-ID: <ba40711f0610231749g114f3ed0r2300dfc31d3c04dd@mail.gmail.com>
Date: Mon, 23 Oct 2006 20:49:03 -0400
From: "Lev Bishop" <lev DOT bishop AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: How do I kill a grandchild process from shell program?
In-Reply-To: <ehjll0$4f7$1@sea.gmane.org>
MIME-Version: 1.0
References: <ehjll0$4f7$1 AT sea DOT gmane DOT org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 10/23/06, Jim Seymour <nntp DOT ff AT thentao DOT com> wrote:

> However, if things don't work fine, the background process sticks around
> to plague me later.
>
> I'd like to end my main script by killing the background process (if
> it's still around), but I'm having a helluva time figuring out HOW.

How about:
$ killall <progname>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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