Module: Dapp::Dimg::SystemShellout
- Included in:
- Dapp::Dimg
- Defined in:
- lib/dapp/dimg/system_shellout.rb
Overview
SystemShellout
Instance Method Summary collapse
Instance Method Details
#system_shellout(command, **kwargs) ⇒ Object
6 7 8 9 10 |
# File 'lib/dapp/dimg/system_shellout.rb', line 6 def system_shellout(command, **kwargs) project.system_shellout_extra(volume: tmp_path) do project.system_shellout(command, **kwargs) end end |
#system_shellout!(command, **kwargs) ⇒ Object
12 13 14 |
# File 'lib/dapp/dimg/system_shellout.rb', line 12 def system_shellout!(command, **kwargs) system_shellout(command, raise_error: true, **kwargs) end |