summaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-11 13:27:46 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-11 13:27:46 +0000
commit0da4b3a164319dc71d0fa32b072dcd3f874c87b2 (patch)
tree5018963b80c99ef5207c0bfa8d7b6aa9feae59ab /process.c
parent43239a71601a6c65a62781a78cab919d118dc24f (diff)
downloadruby-0da4b3a164319dc71d0fa32b072dcd3f874c87b2.tar.gz
ruby-0da4b3a164319dc71d0fa32b072dcd3f874c87b2.tar.xz
ruby-0da4b3a164319dc71d0fa32b072dcd3f874c87b2.zip
rdoc update.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/process.c b/process.c
index 161e384aa..8e8694e11 100644
--- a/process.c
+++ b/process.c
@@ -2977,7 +2977,14 @@ rb_f_system(int argc, VALUE *argv)
* Process.spawn([env,] command... [,options]) => pid
*
* spawn executes specified command and return its pid.
- * It doesn't wait for end of the command.
+ *
+ * This method doesn't wait for end of the command.
+ * The parent process should
+ * use <code>Process.wait</code> to collect
+ * the termination status of its child or
+ * use <code>Process.detach</code> to register
+ * disinterest in their status;
+ * otherwise, the operating system may accumulate zombie processes.
*
* spawn has bunch of options to specify process attributes:
*