General

Profile

lacostej (Jerome Lacoste)

  • Login: lacostej
  • Registered on: 01/23/2024
  • Last sign in: 02/26/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

02/26/2024

03:34 PM Ruby Bug #20206: PTY.spawn seems to fail to capture the output of "echo foo" once in a while
Changing the command to `"echo 'foo'"` or `"stdbuf -i0 -o0 -e0 echo foo"` doesn't reproduce the failure.
So this could very much be caused by buffering issues on the terminal side and not a bug in ruby. I think we can close this issue.
lacostej (Jerome Lacoste)

01/23/2024

09:00 PM Ruby Bug #20206 (Closed): PTY.spawn seems to fail to capture the output of "echo foo" once in a while
We use PTY.spawn to call "echo foo", and on Mac it seems to randomly fail, capturing an empty output every now and then.
On Linux, the failure doesn't seem to happen.
The following code contains 2 ways of capturing the output from PT...
lacostej (Jerome Lacoste)

Also available in: Atom