diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-09 13:57:04 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-09 13:57:04 +0000 |
commit | 058b5bce60de0ea4b36e5ad8c7ec5faa0d97b001 (patch) | |
tree | 1d4335b7aa22cb1b97f161730402edf2edc54b07 /process.c | |
parent | 77811031e549b0e8011182f6f703a07ab2ae767b (diff) |
[DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3949,9 +3949,10 @@ rb_f_system(int argc, VALUE *argv) * pid = spawn(command, :in=>"/dev/null") # read mode * pid = spawn(command, :out=>"/dev/null") # write mode * pid = spawn(command, :err=>"log") # write mode + * pid = spawn(command, [:out, :err]=>"/dev/null") # write mode * pid = spawn(command, 3=>"/dev/null") # read mode * - * For stdout and stderr, + * For stdout and stderr (and combination of them), * it is opened in write mode. * Otherwise read mode is used. * |