iruby icon indicating copy to clipboard operation
iruby copied to clipboard

Subprocess's stdout and stderr aren't redirected to the notebook

Open mrkn opened this issue 6 years ago • 1 comments

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 screenshot 2018-04-02 13 18 46

mrkn avatar Apr 02 '18 04:04 mrkn

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.

horacio avatar Apr 25 '20 19:04 horacio