Subject: | pid statuses are persisted |
The PID_STATUS hash persists the exit status of a pid.
This becomes problematic if a pid is reused by the system. A call to
pidStatus will return the exit value of the old child process instead of
testing to see if the new process has actually completed and returning
its exit value.
The pidStatus method should probably delete the hash entry before
returning the status of the process.