iruby
iruby copied to clipboard
Subprocess's stdout and stderr aren't redirected to the notebook
When I execute system("echo Hello World")
, the output of echo
command wasn't displayed on the notebook, but was appeared on the console.
![screenshot 2018-04-02 13 06 45](https://user-images.githubusercontent.com/3959/38183012-2db74c9a-3678-11e8-8a87-6c4bd2128f22.png)
![screenshot 2018-04-02 13 18 46](https://user-images.githubusercontent.com/3959/38183050-67b91478-3678-11e8-8b34-526338cfeb86.png)
Just tested this on a iruby fresh install:
ProductName: Mac OS X ProductVersion: 10.14.6 BuildVersion: 18G2022
IRuby 0.4.0, Ruby 2.6.3 Jupyter console 6.1.0
In [1]: system("echo Hello World")
Hello World
Out[1]: true
If this is still relevant, could you please provide which version of iruby are you running and its dependencies versions? Thanks in advance.
Edit: nevermind. Just reproduced it. I'm going to investigate this further.