Hi,

I'm missing something obvious here, I think.  Is there an easy way
to obtain the process id of a child process that exited using
trap("CHLD")?

What I'd really like is the pid and the exit status -- but the only
place I can obtain exit status is the global $?; if I spawn a bunch of 
child processes and they all exit at roughly the same time, I can't
associate which child exited with which status.

What am I missing?

/\ndy