summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-09 13:57:04 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-09 13:57:04 +0000
commit058b5bce60de0ea4b36e5ad8c7ec5faa0d97b001 (patch)
tree1d4335b7aa22cb1b97f161730402edf2edc54b07
parent77811031e549b0e8011182f6f703a07ab2ae767b (diff)
[DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/process.c b/process.c
index 7946b170b0..75af4bd073 100644
--- a/process.c
+++ b/process.c
@@ -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.
*