Skip to content

Commit

Permalink
Merge pull request #652 from cucumber/issue-614-no-binmode
Browse files Browse the repository at this point in the history
Do not set binmode on output temp files
  • Loading branch information
mvz authored Jun 30, 2019
2 parents 3109b9e + cc3a818 commit fb1fdd3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/aruba/processes/spawn_process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@ def start
@stdout_file.sync = true
@stderr_file.sync = true

@stdout_file.binmode
@stderr_file.binmode
if RUBY_VERSION >= '1.9'
@stdout_file.set_encoding('ASCII-8BIT')
@stderr_file.set_encoding('ASCII-8BIT')
end

@exit_status = nil
@duplex = true
Expand Down

0 comments on commit fb1fdd3

Please sign in to comment.