in reply to Re: Timeout with SIG{ALRM} not working as expectedin thread Timeout with SIG{ALRM} not working as expected
if ($@ and $@ =~ /ALARM_COMMAND_TIMEOUT/) { &writeLog("Killing child process (pid = $childPID)"); kill(1, $childPID); } [download]