# File lib/open4.rb, line 33 def popen4(*cmd, &b) Open4.do_popen(b, :init) 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