The program I want to execute as a external program in ruby is using a
write system call.
When I use IO.popen or IO.pipe, there is no output because of the
external program didn’t flush it’s output. (but, when I executed it in
shell, normally it shows up outputs).
But, when I use PTY.spawn(), the output is generated.
what’s the differences between them??