Flush `stdout` and say which exit code was thrown.