Let's say I have a process started from a ruby script like so:
pid = spawn('./my_awesome_process')
Process.detach(pid)
This process listens on STDIN. I now wish to read command line input, and send it to the process like so:
puts "Please enter input"
input = gets
How do I then forwards input to my Process?