class Rake::CpuCounter

def look_for_command(dir, command)

def look_for_command(dir, command)
  path = File.join(dir, command)
  File.exist?(path) ? path : nil
end