S
S
Splite2014-05-29 15:41:24
ruby
Splite, 2014-05-29 15:41:24

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 question

Ask a Question

731 491 924 answers to any question