More work to keep track of the exit codes.