From 0da4b3a164319dc71d0fa32b072dcd3f874c87b2 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 11 Aug 2009 13:27:46 +0000 Subject: rdoc update. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'process.c') 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 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: * -- cgit