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