Proc::Parallel::RemoteKiller - kill off slave processes on control-C
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();
This module tries to make control-C work when you've got remote slave processes. It maintains a list of such processes and catches
You tell it about new processes with
note. You tell it to forget about processes with
forget_all. You can ask that they all be terminated with
ssh to get to the remote systems to kill the processes.
This package may be used and redistributed under the terms of either the Artistic 2.0 or LGPL 2.1 license.