Hi<br><br>I'm trying to add ipython to a program where interactive interface is a very small part - I use it mostly for debugging. I want to be able to add ipython in such a way that when the program decides to exit (due to gui action or network conditions), interactive interface exits too. I have ipython running in another thread.
<br><br>branch 1:<br>I found a function shell.IP.exit(), and setting conirm_exit=False,<br>however when I do these, ipython thread waits in readline() before actually exiting<br> <br>branch 2:<br>I set threading.Thread.setDaemon
(True) on the thread where I run ipython,<br> however when thread program exits terminal is left in a broken state by readline<br><br>Any suggestions how I could implement what I want here?<br>