module Byebug::Helpers::BinHelper
def find_executable(path, cmd)
def find_executable(path, cmd) executable_file_extensions.each do |ext| exe = File.expand_path(cmd + ext, path) return exe if real_executable?(exe) end nil end
def find_executable(path, cmd) executable_file_extensions.each do |ext| exe = File.expand_path(cmd + ext, path) return exe if real_executable?(exe) end nil end