Anno Siegel wrote:
> Thomas Kratz <> wrote in comp.lang.perl.misc:
>
>>Howard wrote:
>>
>>
>>>Hi All,
>>>
>>>I ran into a scenario that I initiate from system(), however, the
>>>process doesn't exit and hang over there. I am just wondering if there
>>>is a way to kill the process after half hour run no matter it is
>>>healthy or not.
>>>
>>>Regards,
>>
>>perldoc -f alarm
>
>
> Fine if you know what pid to kill, but with system() you don't.
>
> Anno
You're right. Foggy memory, I really should test before posting.
It's time to go home now
Thomas
--
$/=$,,$_=<DATA>,s,(.*),$1,see;__END__
s,^(.*\043),,mg,@_=map{[split'']}split;{#>J~.>_an~>>e~......>r~
$_=$_[$%][$"];y,<~>^,-++-,?{$/=--$|?'"':#..u.t.^.o.P.r.>ha~.e..
'%',s,(.),\$$/$1=1,,$;=$_}:/\w/?{y,_, ,,#..>s^~ht<._..._..c....
print}:y,.,,||last,,,,,,$_=$;;eval,redo}#.....>.e. r^.>l^..>k^.-