diff options
Diffstat (limited to 'test/helper.rb')
-rw-r--r-- | test/helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helper.rb b/test/helper.rb index 3023dee..550a0f1 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -125,7 +125,7 @@ class IO end if ! IO.method_defined?(:nread) && RUBY_PLATFORM =~ /linux/ def cloexec_pipe - IO.pipe.each { |io| io.close_on_exec = true } + IO.pipe end def require_exec(cmd) |