ruby-changes:12774
From: akr <ko1@a...>
Date: Tue, 11 Aug 2009 22:28:01 +0900 (JST)
Subject: [ruby-changes:12774] Ruby:r24499 (trunk): rdoc update.
akr 2009-08-11 22:27:46 +0900 (Tue, 11 Aug 2009) New Revision: 24499 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24499 Log: rdoc update. Modified files: trunk/process.c Index: process.c =================================================================== --- process.c (revision 24498) +++ process.c (revision 24499) @@ -2977,8 +2977,15 @@ * 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: * * env: hash -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/