diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2020-06-18 16:01:36 +0200 |
|---|---|---|
| committer | Aaron Patterson <aaron.patterson@gmail.com> | 2020-06-18 10:00:20 -0700 |
| commit | adbdf11f94afd52d276c7891515e0eb808f6003f (patch) | |
| tree | 9c541b9a5c970318a7515d382f1e162509e9d114 /spec/ruby/core/array/shared/intersection.rb | |
| parent | 42b4234ba486d4613f0e8b7c9e67bc37d511fa37 (diff) | |
[open3] only close streams if a block is passed
Ref: 5429deb075beb9a2b67adae269bbac16325876d1
The previous change totally borke `popen2e` in this usage:
```ruby
require 'open3'
stdin, stdout, process = Open3.popen2e("cat")
puts stdout.read
```
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3236
Diffstat (limited to 'spec/ruby/core/array/shared/intersection.rb')
0 files changed, 0 insertions, 0 deletions
