Let python shell run by command 'run-python' auto close window when exit.