Duh.Doesn't solve my real problem, but solves my test problem, thanks.
- Ant
- Some of my
best work - (1 2 3)
| [reply] |
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).
| [reply] |
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)
| [reply] |