From b0e96c4ae7e2b44b064bf440ca9a6ba03c607646 2012-02-03 00:07:54 From: Bradley M. Froehle Date: 2012-02-03 00:07:54 Subject: [PATCH] Turn off interactive mode if module_to_run is given. --- diff --git a/IPython/frontend/terminal/ipapp.py b/IPython/frontend/terminal/ipapp.py index cef39fc..6f1f694 100755 --- a/IPython/frontend/terminal/ipapp.py +++ b/IPython/frontend/terminal/ipapp.py @@ -268,6 +268,7 @@ class TerminalIPythonApp(BaseIPythonApplication, InteractiveShellApp): if new and not self.force_interact: self.interact = False _code_to_run_changed = _file_to_run_changed + _module_to_run_changed = _file_to_run_changed # internal, not-configurable interact=Bool(True)