output child WEXITSTATUS/WTERMSIG on abnormal termination