Class: Foreman::Kicker::Executor
- Inherits:
-
Object
- Object
- Foreman::Kicker::Executor
- Defined in:
- lib/foreman/kicker/executor.rb
Instance Attribute Summary collapse
-
#pid ⇒ Object
readonly
Returns the value of attribute pid.
Instance Method Summary collapse
Instance Attribute Details
#pid ⇒ Object (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 |