# File lib/mixlib/shellout/windows.rb, line 301 def self.find_executable(path) return path if File.executable? path pathext.each do |ext| exe = "#{path}#{ext}" return exe if File.executable? exe end return nil end