Last Modified
2011-09-30 21:17:49 +0000
Requires

Description

stolen directly from Open3::open3.rb!

open4.rb: Spawn a program like popen, but with stderr, and pid, too. You might also want to use this if you want to bypass the shell. (By passing multiple args, which IO#popen does not allow)

Usage:

     require "open4"

    stdin, stdout, stderr, pid = Open4.popen4('nroff -man')
or
     include Open4
    stdin, stdout, stderr, pid = popen4('nroff -man')