How do I kill a grandchild process from shell program?

Lev Bishop lev.bishop@gmail.com
Tue Oct 24 02:13:00 GMT 2006


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>

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



More information about the Cygwin mailing list