X-Spam-Check-By: sourceware.org
Date: Tue, 24 Oct 2006 11:31:46 -0700
From: Gary Johnson <garyjohn@spk.agilent.com>
To: cygwin@cygwin.com
Subject: Re: How do I kill a grandchild process from shell program?
Message-ID: <20061024183146.GB3470@suncomp1.spk.agilent.com>
Mail-Followup-To: cygwin@cygwin.com
References: <ehjll0$4f7$1@sea.gmane.org> <ba40711f0610231749g114f3ed0r2300dfc31d3c04dd@mail.gmail.com> <ehll33$abl$1@sea.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <ehll33$abl$1@sea.gmane.org>
User-Agent: Mutt/1.5.12 (2006-07-14)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
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

On 2006-10-24, Jim Seymour <nntp.ff@thentao.com> wrote:
> Lev Bishop wrote:
> > On 10/23/06, Jim Seymour <nntp.ff@thentao.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>
> 
> Thanks for the reply.  Unfortunately, "killall" is not part of my Cygwin 
> installation - and I don't see which package contains it.

From a shell prompt, execute

    cygcheck -p killall

or in a browser, go to http://cygwin.com/packages/ and "Search 
Package List:" for "killall".

Gary

-- 
Gary Johnson                 | Agilent Technologies
garyjohn@spk.agilent.com     | Wireless Division
                             | Spokane, Washington, USA

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

