[IPython-dev] !commands in the zmq model

Gael Varoquaux gael.varoquaux at normalesup.org
Thu Sep 2 16:43:32 EDT 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


More information about the IPython-dev mailing list