From: Gary Wright Date: 2009-04-25T08:06:36+09:00 Subject: [ruby-core:23305] [Bug #1403] Process.daemon should do a double fork to avoid problems with controlling terminals Bug #1403: Process.daemon should do a double fork to avoid problems with controlling terminals http://redmine.ruby-lang.org/issues/show/1403 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 Stevens, Advanced Programming in the Unix Environment for details. ---------------------------------------- http://redmine.ruby-lang.org