Answer the question
In order to leave comments, you need to log in
How to send enter (\015) signal to STDOUT in Ruby?
Hello! How to send enter (\015) signal to STDOUT in Ruby?
I have a separate process spawning in Ruby, which should read the command. Now it starts under screen and I do this
screen -S name -X stuff "command-stop"
screen -S name -X eval "stuff \015"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question