The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Proc::Killfam - kill a list of pids, and all their sub-children

SYNOPSIS

use Proc::Killfam;
killfam $signal, @pids;

DESCRIPTION

killfam accepts the same arguments as the Perl builtin kill command, but, additionally, recursively searches the process table for children and kills them as well.

EXAMPLE

killfam 'TERM', ($pid1, $pid2, @more_pids);

KEYWORDS

kill, signal