lib/cli/tools.rb in request-log-analyzer-1.2.9 vs lib/cli/tools.rb in request-log-analyzer-1.3.0
- old
+ new
@@ -11,10 +11,10 @@
else
raise
end
rescue
begin
- IO.popen('stty -a') do |pipe|
+ IO.popen('stty -a 2>&1') do |pipe|
column_line = pipe.detect { |line| /(\d+) columns/ =~ line }
raise unless column_line
$1.to_i
end
rescue