Class: DAF::ShellAction
- Defined in:
- lib/daf/actions/shell_action.rb
Overview
An action that executes a shell script
Instance Method Summary collapse
Methods inherited from Action
Methods included from Configurable
Instance Method Details
#invoke ⇒ Object
15 16 17 18 19 |
# File 'lib/daf/actions/shell_action.rb', line 15 def invoke arguments = self.arguments.value ? " #{self.arguments.value}" : '' @results = `#{path.value}#{arguments}` $CHILD_STATUS.exitstatus end |