Navigation Menu

Skip to content

Commit

Permalink
Set pipe external encoding to ASCII-8BIT
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 8, 2012
1 parent 0e5fb82 commit ad92df6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/groonga/tester.rb
Expand Up @@ -413,8 +413,8 @@ def run_groonga_gqtp(context)
end

def open_pipe
IO.pipe do |input_read, input_write|
IO.pipe do |output_read, output_write|
IO.pipe("ASCII-8BIT") do |input_read, input_write|
IO.pipe("ASCII-8BIT") do |output_read, output_write|
yield(input_read, input_write, output_read, output_write)
end
end
Expand Down

0 comments on commit ad92df6

Please sign in to comment.