[前][次][番号順一覧][スレッド一覧]

ruby-changes:28935

From: akr <ko1@a...>
Date: Thu, 30 May 2013 13:00:57 +0900 (JST)
Subject: [ruby-changes:28935] akr:r40987 (trunk): Update doc.

akr	2013-05-30 12:57:46 +0900 (Thu, 30 May 2013)

  New Revision: 40987

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40987

  Log:
    Update doc.

  Modified files:
    trunk/process.c

Index: process.c
===================================================================
--- process.c	(revision 40986)
+++ process.c	(revision 40987)
@@ -3800,7 +3800,10 @@ rb_f_system(int argc, VALUE *argv) https://github.com/ruby/ruby/blob/trunk/process.c#L3800
  *
  *  spawn executes specified command and return its pid.
  *
- *  This method doesn't wait for end of the command.
+ *    pid = spawn("tar xf ruby-2.0.0-p195.tar.bz2")
+ *    Process.wait pid
+ *
+ *  This method is similar to system but it doesn't wait end of the command.
  *  The parent process should
  *  use <code>Process.wait</code> to collect
  *  the termination status of its child or

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]