diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-01-19 10:24:22 -0800 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-01-19 10:24:22 -0800 |
commit | b1b21f9325bca6988f261e0a489cd319fb97d0fa (patch) | |
tree | 51f4c2dff6dfbf238ef822b7b02c00c6553c0ed5 /activesupport/lib/active_support | |
parent | 935d235f90ec7c25cd2b7b3cccfebfe8a4ebc3da (diff) | |
parent | 0e9144dcecb1a21627ec66ca3578308c43368ee9 (diff) | |
download | rails-b1b21f9325bca6988f261e0a489cd319fb97d0fa.tar.gz rails-b1b21f9325bca6988f261e0a489cd319fb97d0fa.tar.bz2 rails-b1b21f9325bca6988f261e0a489cd319fb97d0fa.zip |
Merge pull request #13745 from nextgearcapital/master
set encoding for pipe to binary mode
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/testing/isolation.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/testing/isolation.rb b/activesupport/lib/active_support/testing/isolation.rb index 75ead48376..908af176be 100644 --- a/activesupport/lib/active_support/testing/isolation.rb +++ b/activesupport/lib/active_support/testing/isolation.rb @@ -37,6 +37,8 @@ module ActiveSupport module Forking def run_in_isolation(&blk) read, write = IO.pipe + read.binmode + write.binmode pid = fork do read.close |