The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Proc::Parallel::RemoteKiller - kill off slave processes on control-C

SYNOPSIS

 use Proc::Parallel::RemoteKiller;

 $remote_killer = Proc::Parallel::RemoteKiller->new;

 $remote_killer->note($host, $pid);

 $remote_killer->forget($host, $pid);

 $remote_killer->kill_them_all();

 $remote_killer->forget_all();

DESCRIPTION

This module tries to make control-C work when you've got remote slave processes. It maintains a list of such processes and catches $SIG{INT}.

You tell it about new processes with note. You tell it to forget about processes with forget and forget_all. You can ask that they all be terminated with kill_them_all().

It uses ssh to get to the remote systems to kill the processes.

LICENSE

This package may be used and redistributed under the terms of either the Artistic 2.0 or LGPL 2.1 license.