Path: | open3.rb |
Last Update: | Thu Sep 18 23:43:42 GMT+10:00 2003 |
open3.rb: Spawn a program like popen, but with stderr, 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 "open3" stdin, stdout, stderr = Open3.popen3('nroff -man') or include Open3 stdin, stdout, stderr = popen3('nroff -man')