This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How do I kill a grandchild process from shell program?
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/