in reply to Re: open(KID, "-|") and wait()?
in thread open(KID, "-|") and wait()?

Your SIGCHLD handler leaves much to be desired. So, this is a bad general example, and a bad specific example. Sorry.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.