Skip to content

Instantly share code, notes, and snippets.

@erran
Last active August 29, 2015 14:15
Show Gist options
  • Save erran/77816419a3710cae6a41 to your computer and use it in GitHub Desktop.
Save erran/77816419a3710cae6a41 to your computer and use it in GitHub Desktop.
puts "testing stdout\n" * 10
# $stdout.flush # Flush stdout/stderr to force output without a terminal based wait period (i.e. the order of STDOUT vs. STDERR is not guaranteed)
# sleep 2.0 # Add some sleep time to test output with intentional wait times
warn "testing stderr\n" * 10
# $stderr.flush # Flush stdout/stderr to force output without a terminal based wait period (i.e. the order of STDOUT vs. STDERR is not guaranteed)
# sleep 2.0 # Add some sleep time to test output with intentional wait times
puts "Lorem Ipsum, awesome stuff.\n" * 10
# $stdout.flush # Flush stdout/stderr to force output without a terminal based wait period (i.e. the order of STDOUT vs. STDERR is not guaranteed)
# sleep 2.0 # Add some sleep time to test output with intentional wait times
puts "done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment