I have some
ruby scripts; I want to run those scripts in daemon process. When I run
ruby script on terminal, it ask for some input after that script start to execute. So now I want to run this scripts using daemon process. But the problem is that how can I give input to scripts, so that it executes.
It would be good if there is solution in which we have to enter the password and then the daemon can continue without any further input until you need to restart it.
If it's not possible, then it would be good to make the input a command line parameter to the daemon running script(clockwork).