Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: child reap in poe?

by Joost (Canon)
on Sep 28, 2009 at 11:53 UTC ( [id://797898] : note . print w/replies, xml ) Need Help??


in reply to child reap in poe?

Any option constants like USE_SIGCHLD must be used before the use POE statement. Also, it's generally a bad idea to try and remove control of reaping from POE (i.e. by setting SIGCHLD to IGNORE). In the case of POE::Wheel::Run, you should use the $kernel->sig_child method to make sure you clean up after a child exit (basically, delete the wheel). See the SYNOPSIS section of POE::Wheel::Run for an example.

Replies are listed 'Best First'.
Re^2: child reap in poe?
by Anonymous Monk on Sep 12, 2010 at 11:11 UTC