[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VOTE: --timeout with suspendable children or killing children?
From: |
Ole Tange |
Subject: |
Re: VOTE: --timeout with suspendable children or killing children? |
Date: |
Tue, 6 Dec 2011 09:39:18 +0100 |
On Mon, Dec 5, 2011 at 6:50 PM, Jay Hacker <jayqhacker@gmail.com> wrote:
> Would this work?
>
> http://search.cpan.org/~sharyanto/Process-KillTree-0.02/lib/Process/KillTree.pm
Interesting idea, but it has at least 2 problems:
* It requires Sys::Statistics::Linux::Processes
eval { require Sys::Statistics::Linux::Processes };
* It only works with Linux:
die "Unknown OS ($^O), can't get process table for this OS";
Can we find a solution that is a bit more portable and which does only
requires modules that is part of standard Perl?
/Ole