From f559d6160783da1b79aa928915890442d2eb587a Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 28 Jun 2012 10:38:26 +0000 Subject: [PATCH] update doc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 3 +++ 1 file changed, 3 insertions(+) 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)