summaryrefslogtreecommitdiff
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
commit3aabcaa3dab84018b9dfd7edf7ad5c48f007e6f3 (patch)
tree5018963b80c99ef5207c0bfa8d7b6aa9feae59ab /process.c
parent8dfd78fc1c1bd4a19de2ce3276bf3ed5670ad1e1 (diff)
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 161e384aa8..8e8694e114 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:
*