Raises:
22 23 24 25
# File 'lib/dip/command.rb', line 22 def self.call(cmdline, env: {}, panic: true, **options) return if ::Kernel.system(env, cmdline, **options) raise Dip::Error, "Command '#{cmdline}' executed with error." if panic end