# File rc.rb, line 41 def show_menu *aChoices IO.popen('wmiimenu', 'r+') do |menu| menu.puts aChoices menu.close_write if (choice = menu.read).empty? nil else choice end end end