Class: Foreman::Kicker::Executor

Inherits:
Object
  • Object
show all
Defined in:
lib/foreman/kicker/executor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#pidObject (readonly)

Returns the value of attribute pid.



4
5
6
# File 'lib/foreman/kicker/executor.rb', line 4

def pid
  @pid
end

Instance Method Details

#run(*args) ⇒ Object



6
7
8
9
# File 'lib/foreman/kicker/executor.rb', line 6

def run(*args)
  fork_exec(args)
  wait
end