Process.wait is a special case of Process.waitpid