Coro::Handle->close returns "No child processes"

Marc Lehmann schmorp at schmorp.de
Sat Nov 20 05:56:23 CET 2010


On Fri, Nov 19, 2010 at 09:02:28AM +0100, Jonas Wagner <jow at open.ch> wrote:
> >2. you use redhat (most of the redhat kernels have broken waitpid handling)
> It's running on Linux 2.6.32-25-generic #45-Ubuntu SMP x86_64 GNU/Linux
> 
> >3. something else, exotic, such as running another thread calling waitpid.

The strace indicates that you are running another eventloop that reaps
children (such as EV).

If you need the exit status when running an event loop, you need to use an
event-based way to detetc child exit (for example, EV's or AnyEvent's child
watchers).

If not, then ECHILD is normal behaviour.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the perl mailing list