ruby/ruby — pull request #134 by nobu (2012-06-26 14:21:07+00:00)
Title: popen: shell commands with envvars and execopts

* io.c (is_popen_fork): check if fork and raise NotImplementedError if
unavailable.

* io.c (rb_io_s_popen): allow environment variables hash and exec
options as flat parameters, not in an array arguments.

* process.c (rb_execarg_extract_options): extract exec options, but no
exceptions on non-exec options and returns them as a Hash.

* process.c (rb_execarg_setenv): set environment variables.