http://qs321.pair.com?node_id=510103


in reply to Fork parent process dies unexpectedly

One minor-ish style point, there is no need to do
use POSIX 'WNOHANG'; use POSIX 'setsid'; use POSIX 'sys_wait_h';
use
use POSIX qw( WNOHANG setsid sys_wait_h );
instead. Repeated use statements for the same module are redundant and become awkward quickly, IMHO.

If the information in this post is inaccurate, or just plain wrong, don't just downvote - please post explaining what's wrong.
That way everyone learns.