##// END OF EJS Templates
Exit code 1 if non-interactive execution fails...
Thomas Kluyver -
Show More
@@ -356,6 +356,8 b' class TerminalIPythonApp(BaseIPythonApplication, InteractiveShellApp):'
356 self.shell.mainloop()
356 self.shell.mainloop()
357 else:
357 else:
358 self.log.debug("IPython not interactive...")
358 self.log.debug("IPython not interactive...")
359 if not self.shell.last_execution_succeeded:
360 sys.exit(1)
359
361
360 def load_default_config(ipython_dir=None):
362 def load_default_config(ipython_dir=None):
361 """Load the default config file from the default ipython_dir.
363 """Load the default config file from the default ipython_dir.
General Comments 0
You need to be logged in to leave comments. Login now