diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-27 00:15:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-27 00:15:51 +0000 |
commit | 2240eb37b8c9abdfd1583bc29ea713695d6a2f6d (patch) | |
tree | f173c376626adf6d6fe6b79356fcd0e2f0faa481 /time.c | |
parent | 1ca611f360d96abf74d065f082e4b7d77fdfeb77 (diff) | |
download | ruby-2240eb37b8c9abdfd1583bc29ea713695d6a2f6d.tar.gz |
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.
[Feature#6651] [EXPERIMENTAL]
* 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
0 files changed, 0 insertions, 0 deletions