Add the possible error messages from waitpid to the result output.