# File lib/daemons/application.rb, line 87 def start_exec unless options[:ontop] Daemonize.daemonize(logfile) else Daemonize.simulate(logfile) end @pid.pid = Process.pid ENV['DAEMONS_ARGV'] = @controller_argv.join(' ') # haven't tested yet if this is really passed to the exec'd process... Kernel.exec(script(), *ARGV) end