From: "Steve [RubyTalk]" Date: 2005-11-08T01:58:15+09:00 Subject: Daemons written in ruby... I've written a simple daemon as a ruby script... it writes all interesting output to a log file and is intended to be a long-running process as opposed to a program which executes only while a user is logged in. In C I'd have closed stdin, stdout and stderr; dissociate my process from its parent then called fork in order to return 0 indicate successfully starting the daemon. What is the best way to achieve this in Ruby? I can achieve the end result I want using nohup, but I'm sure there must be a neater way.