4 5 6 7
# File 'lib/beaker/host/windows/pkg.rb', line 4 def check_for_command(name) result = exec(Beaker::Command.new("which #{name}"), :accept_all_exit_codes => true) result.exit_code == 0 end