Created
May 9, 2010 11:40
-
-
Save patroza/395104 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'open3' | |
puts "Ctrl-C should work now" | |
sleep 5 | |
Open3.popen3("echo 'Now ctrl-C wont work no more'") { |io_in, io_out, io_err, waith_thr| puts io_out.read; puts io_err.read } | |
sleep 20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment