* process.c: RDoc on Process.spawn

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2013-05-30 08:55:41 +00:00
parent 38a14c68e0
commit 89a452c7c1
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Thu May 30 17:55:04 2013 Zachary Scott <zachary@zacharyscott.net>
* process.c: RDoc on Process.spawn
Thu May 30 00:08:14 2013 Koichi Sasada <ko1@atdot.net> Thu May 30 00:08:14 2013 Koichi Sasada <ko1@atdot.net>
* gc.c (gc_profile_enable): rest_sweep() to finish last GC. * gc.c (gc_profile_enable): rest_sweep() to finish last GC.

View File

@ -3803,7 +3803,9 @@ rb_f_system(int argc, VALUE *argv)
* pid = spawn("tar xf ruby-2.0.0-p195.tar.bz2") * pid = spawn("tar xf ruby-2.0.0-p195.tar.bz2")
* Process.wait pid * Process.wait pid
* *
* This method is similar to system but it doesn't wait end of the command. * This method is similar to Kernel#system but it doesn't wait for the command
* to finish.
*
* The parent process should * The parent process should
* use <code>Process.wait</code> to collect * use <code>Process.wait</code> to collect
* the termination status of its child or * the termination status of its child or