In the box.rb file in line 821 and 822 (rye 0.9.7) a rewind of the channel :stderr and :stdout buffers is missing.
In my application I got nothing as error message where I should got it (By putting some trace before I can see that the channel has the error message but the rap structure does not have it!!)
By adding these two lines:
channel[:stdout].position = 0
channel[:stderr].position = 0
I can get the error message and I can comment the line you just modify (line 1100) as I think this one is not useful because for me it is up to the application to forward that message to the screen or not.
BTW: when using Curses these messages still show up on the screen and they are just annoying. I prefer to manage them myself and show them in the right place on the screen rather than randomly.
In the box.rb file in line 821 and 822 (rye 0.9.7) a rewind of the channel :stderr and :stdout buffers is missing.
In my application I got nothing as error message where I should got it (By putting some trace before I can see that the channel has the error message but the rap structure does not have it!!)
By adding these two lines: channel[:stdout].position = 0 channel[:stderr].position = 0 I can get the error message and I can comment the line you just modify (line 1100) as I think this one is not useful because for me it is up to the application to forward that message to the screen or not. BTW: when using Curses these messages still show up on the screen and they are just annoying. I prefer to manage them myself and show them in the right place on the screen rather than randomly.
Thanks for your help and for this nice tool René