xonsh / xontrib-jupyter

Xonsh jupyter kernel allows to run Xonsh shell code in Jupyter, JupyterLab, Euporia, etc.
MIT License
32 stars 4 forks source link

Capture subprocess stdout by default #21

Open joouha opened 1 year ago

joouha commented 1 year ago

This PR sets the standard output of subprocess to be captured by default in the xonsh kernel.

This means that the output of external commands will sent to connected kernel clients, instead of being displayed in the terminal where the kernel is running.

anki-code commented 1 year ago

hi @joouha! This is not working for me:

xonsh
xpip install -U git+https://github.com/joouha/xontrib-jupyter@fix-subproc-stdout
cd /tmp
euporie-notebook --kernel-name xonsh
image

If I run this many times:

anki-code commented 1 year ago

@joouha what do you think, why we have unstable output?