Show More
@@ -82,6 +82,10 b' class ZMQTerminalInteractiveShell(TerminalInteractiveShell):' | |||||
82 | if (not cell) or cell.isspace(): |
|
82 | if (not cell) or cell.isspace(): | |
83 | return |
|
83 | return | |
84 |
|
84 | |||
|
85 | if cell.strip() == 'exit': | |||
|
86 | # explicitly handle 'exit' command | |||
|
87 | return self.ask_exit() | |||
|
88 | ||||
85 | self._executing = True |
|
89 | self._executing = True | |
86 | # flush stale replies, which could have been ignored, due to missed heartbeats |
|
90 | # flush stale replies, which could have been ignored, due to missed heartbeats | |
87 | while self.km.shell_channel.msg_ready(): |
|
91 | while self.km.shell_channel.msg_ready(): |
General Comments 0
You need to be logged in to leave comments.
Login now