title: Ruby - Hide "^C" on Interrupt
body: <p>In Ruby I have the following:</p>
  
  <pre><code># Trap Interrupts
  trap("INT") do
      puts "Shutting down..."
      exit
  end
  </code></pre>
  
  <p>When I interrupt the program, the following is printed (Mac OSX Lion):</p>
  
  <blockquote>
    <p>^CShutting down...</p>
  </blockquote>
  
  <p>Is there any way to hide <code>^C</code> from within Ruby?</p>