examples/meta_example.rb in glimmer-dsl-libui-0.2.12 vs examples/meta_example.rb in glimmer-dsl-libui-0.2.13
- old
+ new
@@ -46,9 +46,10 @@
result = ''
IO.popen(command) do |f|
f.each_line do |line|
result << line
puts line
+ $stdout.flush # for Windows
end
end
msg_box('Error Running Example', result) if result.downcase.include?('error')
end