Work queue worker now parses the status returned by wait4() to extract the exit code or termination signal that ended the child process.