From 3aabcaa3dab84018b9dfd7edf7ad5c48f007e6f3 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 11 Aug 2009 13:27:46 +0000 Subject: [PATCH] rdoc update. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 Process.wait to collect + * the termination status of its child or + * use Process.detach to register + * disinterest in their status; + * otherwise, the operating system may accumulate zombie processes. * * spawn has bunch of options to specify process attributes: *