# File lib/chef/shell_out.rb, line 112 def initialize(*command_args) @stdout, @stderr = '', '' @live_stream = nil @command_log_level = :debug @command_log_prepend = nil @environment = DEFAULT_ENVIRONMENT @cwd = nil @valid_exit_codes = [0] if command_args.last.is_a?(Hash) parse_options(command_args.pop) end @command = command_args.size == 1 ? command_args.first : command_args end