# File lib/open4.rb, line 45 def popen4ext(closefds=false, *cmd, &b) Open4.do_popen(b, :init, closefds) do |ps_read, ps_write| ps_read.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC) ps_write.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC) exec(*cmd) raise 'forty-two' # Is this really needed? end end