Last active
July 30, 2019 18:31
-
-
Save AlexEzzeddine/75caa12df3ac0af6c8246fc4f175f1de to your computer and use it in GitHub Desktop.
JRuby flush issue
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
f = File.new('/tmp/test.log', 'a+') | |
$stdout.reopen f | |
10.times do | |
puts "hello" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment