Hi, At Sat, 25 Apr 2009 08:06:36 +0900, Gary Wright wrote in [ruby-core:23305]: > Author: Gary Wright > Status: Open, Priority: Normal > ruby -v: ruby 1.9.0 (2008-07-25 revision 18217) [i686-darwin9] > > Standard practice when 'daemonizing' is to do a second fork > so that the final process is no longer a session leader and > therefore can't acquire a new controlling terminal. See Process.setsid. Process.daemon implies it. And daemon(3) is deprecated on Darwin. -- Nobu Nakada