There is a perfectly serviceable Daemon class in lib/webrick/server.rb 
as well.

You can use it as is, or as a template for your own code.

Regards,



-- 
Posted via http://www.ruby-forum.com/.