in reply to Killing a hanging child process

How about one of the Proc modules like Proc::Reliable, which has built-in timeout functionality?

andyford
or non-Perl: Andy Ford