diff options
author | Anna Carey <acarey@discoverdsc.com> | 2014-01-17 16:49:10 -0500 |
---|---|---|
committer | Anna Carey <acarey@discoverdsc.com> | 2014-01-17 16:49:10 -0500 |
commit | 0e9144dcecb1a21627ec66ca3578308c43368ee9 (patch) | |
tree | 90d40dad607df998271e4d60a0928f1ae7a26e0c /activesupport | |
parent | 486db21f919c39cef76b487be45290b7561307e8 (diff) | |
download | rails-0e9144dcecb1a21627ec66ca3578308c43368ee9.tar.gz rails-0e9144dcecb1a21627ec66ca3578308c43368ee9.tar.bz2 rails-0e9144dcecb1a21627ec66ca3578308c43368ee9.zip |
set encoding to binmode for pipe
Diffstat (limited to 'activesupport')
-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 |