Method: Coffer::Definition.start
- Defined in:
- lib/coffer/definition.rb
.start ⇒ Object
TODO: figure out if launch was successful
59 60 61 62 63 64 65 66 |
# File 'lib/coffer/definition.rb', line 59 def start pid = Process.spawn( executable_path, "-daemon", :out => '/dev/null', :err => '/dev/null') # Detach the spawned process Process.detach pid end |