When using ipython notebook, the output of child processes spawned by subprocess
never shows up in the notebook itself. For example, this cell
import subprocess
subprocess.check_call(['echo', 'hello'])
Only shows 0
as output, and the hello
is printed on the terminal where ipython is launched.
Is there any configuration parameters I can tune such that the output of child processes show up in the notebook itself?
Actually custom python c extensions will also have their output swallowed. Is there any fix?