Clean up process wait to use POSIX waitpid() interface.
[mmh] / DATE
1 27 April 2008