Method: CommandMapper::Command.spawn
- Defined in:
- lib/command_mapper/command.rb
.spawn(params = {}, **kwargs) {|command| ... } ⇒ Integer
Initializes and spawns the command as a separate process, returning the PID of the process.
134 135 136 137 |
# File 'lib/command_mapper/command.rb', line 134 def self.spawn(params={},**kwargs,&block) command = new(params,**kwargs,&block) command.spawn_command end |