summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-13 20:55:40 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-13 20:55:40 +0000
commitb41bc68688f098fce75ea4e7296e3e11783a7b97 (patch)
treedb9a079fa0467fbbde2616c959aa2a90cf7736a6 /process.c
parentbad859ca3e54168c455dd41810b9c62cfd15d7d2 (diff)
update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/process.c b/process.c
index 52b723735b..b4e2b7c94c 100644
--- a/process.c
+++ b/process.c
@@ -2167,15 +2167,15 @@ static int rb_exec_without_timer_thread(const struct rb_exec_arg *e, char *errms
* 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>.
- *
- * Raises SystemCallError if the command couldn't execute (typically
- * <code>Errno::ENOENT</code> when it was not found).
+ * If it is not acceptable, consider to create a child process using <code>spawn</code> or <code>system</code>.
*
* exec "echo *" # echoes list of files in current directory
* # never get here