show exit status in command prompt