module Mixlib::ShellOut::Windows

def exe_needs_cmd?(exe)

we assume it must be a cmd builtin.
Batch files MUST use cmd; and if we couldn't find the command we're looking for,
def exe_needs_cmd?(exe)
  !exe || exe =~ /\.bat"?$|\.cmd"?$/i
end