class EacRubyUtils::Envs::Command

def execute!(options = {})

def execute!(options = {})
  options[:exit_outputs] = status_results.merge(options[:exit_outputs].presence || {})
  er = ExecuteResult.new(execute(options), options)
  return er.result if er.success?
  raise ::EacRubyUtils::Envs::Command::ExecError,
        "execute! command failed: #{self}\n#{er.r.pretty_inspect}"
end