in reply to How to catch hung processes generated in a loop?

What happens if you move alarm(0) outside of the eval block?