From d793a86b434df237d62c70125db94bb0a0bc933b Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 13 Jun 2012 11:37:33 +0000 Subject: [PATCH] update doc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/process.c b/process.c index f5860422af..52b723735b 100644 --- a/process.c +++ b/process.c @@ -2167,6 +2167,13 @@ static int rb_exec_without_timer_thread(const struct rb_exec_arg *e, char *errms * This behavior is modified by env and options. * See spawn for details. * + * This method modifies process attributes according to _options_ + * (details described in spawn) + * before exec(2) system call. + * The modified attributes may be retained when exec(2) 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 spawn or system. + * * Raises SystemCallError if the command couldn't execute (typically * Errno::ENOENT when it was not found). *