Method: Fate::ProcessManager#start_command
- Defined in:
- lib/fate/process_manager.rb
#start_command(name, command) ⇒ Object
82 83 84 85 86 87 88 |
# File 'lib/fate/process_manager.rb', line 82 def start_command(name, command) if pid = @pids_by_name[name] logger.warn "'#{name}' is already running with pid #{pid}" else spawn(name, command) end end |