in reply to Re: Re: Re: Re: Waitpid Woes
in thread Waitpid Woes

Not sure this helps, but the only time I've seen waitpid return -1 (aka 255) when it should have returned something useful was when I was mixing it with perl's builtin backticks/system()/rx() which reap children themselves (i.e. one starts reaping children it's not responsible for).

Replies are listed 'Best First'.
Re6: Waitpid Woes
by suaveant (Parson) on Dec 17, 2003 at 19:59 UTC
    return from waitpid, or the value in $? not backticking... and I am getting back the pids I expect, so I doubt they are being reaped somewhere else...

                    - Ant
                    - Some of my best work - (1 2 3)