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

ruby-changes:24022

From: akr <ko1@a...>
Date: Thu, 14 Jun 2012 05:55:54 +0900 (JST)
Subject: [ruby-changes:24022] akr:r36073 (trunk): update doc.

akr	2012-06-14 05:55:40 +0900 (Thu, 14 Jun 2012)

  New Revision: 36073

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

  Log:
    update doc.

  Modified files:
    trunk/process.c

Index: process.c
===================================================================
--- process.c	(revision 36072)
+++ process.c	(revision 36073)
@@ -2167,16 +2167,16 @@
  *  This behavior is modified by env and options.
  *  See <code>spawn</code> for details.
  *
+ *  Raises SystemCallError if the command couldn't execute (typically
+ *  <code>Errno::ENOENT</code> when it was not found).
+ *
  *  This method modifies process attributes according to _options_
  *  (details described in <code>spawn</code>)
  *  before <code>exec(2)</code> system call.
  *  The modified attributes may be retained when <code>exec(2)</code> system call fails.
  *  For example, hard resource limits is not restorable.
- *  If it is not acceptable, consider methods which create a child process such as <code>spawn</code> or <code>system</code>.
+ *  If it is not acceptable, consider to create a child process using <code>spawn</code> or <code>system</code>.
  *
- *  Raises SystemCallError if the command couldn't execute (typically
- *  <code>Errno::ENOENT</code> when it was not found).
- *
  *     exec "echo *"       # echoes list of files in current directory
  *     # never get here
  *

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

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