I am working on a program that requires that you type a password to exit a ruby program, and I need a way to disable control-c, as it is failing my evil plans. I need to make it so that the user cannot interrupt the program, without having a bunch of these:
rescue Interrupt
while true
puts "\nExiting..."
end
end