summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-28 10:38:26 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-28 10:38:26 +0000
commitf559d6160783da1b79aa928915890442d2eb587a (patch)
tree2689b59425badc93cbdbec8a6176c8a251651583 /process.c
parent912df4b615f30c5de468a3f214c86a1ec30cd22f (diff)
update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/process.c b/process.c
index 5acb2af7f4..62520fc318 100644
--- a/process.c
+++ b/process.c
@@ -3884,6 +3884,9 @@ rb_f_system(int argc, VALUE *argv)
*
* :close_others is true by default for spawn and IO.popen.
*
+ * Note that fds which close-on-exec flag is already set are closed
+ * regardless of :close_others option.
+ *
* So IO.pipe and spawn can be used as IO.popen.
*
* # similar to r = IO.popen(command)