in reply to fork - alarm - output

Aren't you just reinventing Perl's built-in piped-open?