On Mon, 2005-03-28 at 14:35, Steven Schubiger wrote: > On 28 Mar, Ramprasad A Padmanabhan wrote: > > > I am writing a daemon in perl , where the parent just forks on some > > requests and the children take over. But I found many child processes > > becoming defunct. > > > wait(); > > perldoc -f waitpid
I was not very clear on usefulness of waitpid() >From what I understand , I will have to do a waitpid for every fork I do. Can you show me how I could use waitpid() in my script ( non blocking ) Thanks Ram ---------------------------------------------------------- Netcore Solutions Pvt. Ltd. Website: http://www.netcore.co.in Spamtraps: http://cleanmail.netcore.co.in/directory.html ---------------------------------------------------------- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>