##// END OF EJS Templates
Restore terminal title when not running non-interactively
Maciej Goszczycki -
Show More
@@ -318,6 +318,7 b' class TerminalIPythonApp(BaseIPythonApplication, InteractiveShellApp):'
318 self.shell.mainloop()
318 self.shell.mainloop()
319 else:
319 else:
320 self.log.debug("IPython not interactive...")
320 self.log.debug("IPython not interactive...")
321 self.shell.restore_term_title()
321 if not self.shell.last_execution_succeeded:
322 if not self.shell.last_execution_succeeded:
322 sys.exit(1)
323 sys.exit(1)
323
324
General Comments 0
You need to be logged in to leave comments. Login now