ruby-changes:24011
From: akr <ko1@a...>
Date: Wed, 13 Jun 2012 20:37:44 +0900 (JST)
Subject: [ruby-changes:24011] akr:r36062 (trunk): update doc.
akr 2012-06-13 20:37:33 +0900 (Wed, 13 Jun 2012) New Revision: 36062 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36062 Log: update doc. Modified files: trunk/process.c Index: process.c =================================================================== --- process.c (revision 36061) +++ process.c (revision 36062) @@ -2167,6 +2167,13 @@ * This behavior is modified by env and options. * See <code>spawn</code> for details. * + * 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>. + * * Raises SystemCallError if the command couldn't execute (typically * <code>Errno::ENOENT</code> when it was not found). * -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/