Module: PrePackager::Executor
- Included in:
- Application, Content, Package
- Defined in:
- lib/pre-packager.rb
Constant Summary collapse
Instance Method Summary collapse
Instance Method Details
#execute(cmd) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/pre-packager.rb', line 21 def execute cmd @@LOGGER.info "Executing: #{cmd}" out = `#{cmd}` if $? != 0 @@LOGGER.info "Output: #{out}" end end |