Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "Workaround for Process.spawn not auto-closing fds"

This reverts commit a77e4f5.
  • Loading branch information...
commit 52c53668324c9ffec8d66f20756b41a5a66e2a07 1 parent d9aa645
Lewis Marshall authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  lib/19/open3.rb
View
1  lib/19/open3.rb
@@ -199,7 +199,6 @@ def popen2e(*cmd, &block)
module_function :popen2e
def popen_run(cmd, opts, child_io, parent_io) # :nodoc:
- parent_io.each {|io| io.close_on_exec = true }
pid = spawn(*cmd, opts)
wait_thr = Process.detach(pid)
child_io.each {|io| io.close }
Please sign in to comment.
Something went wrong with that request. Please try again.