class Chef::Provider::Batch

Public Instance Methods

command() click to toggle source
# File lib/chef/provider/batch.rb, line 27
def command
  interpreter_path = Chef::Util::PathHelper.join(basepath, interpreter)

  "\"#{interpreter_path}\" #{new_resource.flags} /c \"#{script_file_path}\""
end
script_extension() click to toggle source
# File lib/chef/provider/batch.rb, line 33
def script_extension
  ".bat"
end