[IPython-dev] !commands in the zmq model

Gael Varoquaux gael.varoquaux@normalesup....
Thu Sep 2 15:43:32 CDT 2010


On Sun, Aug 29, 2010 at 10:42:54PM -0700, Fernando Perez wrote:
> MMh, I've been testing your ipythonx implementation, and it definitely
> does *not* show subprocess output asynchronously as it happens.  At
> least not with the example above run in a subprocess, and it won't let
> me interrupt the subprocess either (I see the KeyboardInterrupt happen
> only at the end, and coming from the ipythonx code:

Puzzling! I tried that old piece of crappy code that I wrote, and was
very surprised to find that it still runs. I can run '!pdflatex' and get
immediate interaction with the spawned program (I remember that achieving
this was hard), however I can also confirm that when I spawn a Python
process, things don't go well (try simply '!python'): synchronous display
doesn't work.

I have no clue why this is the case, and it's certainly not worth wasting
time investigating this if you have a better option (and it looks like
you do).

Thanks for your (collective 'your') efforts on IPython. It is really
starting to look good in terms of providing the basis for a scientific
IDE.

Gaël


More information about the IPython-dev mailing list