diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-13 11:37:33 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-13 11:37:33 +0000 |
commit | d793a86b434df237d62c70125db94bb0a0bc933b (patch) | |
tree | 5cb605e78bbf28816596e067e71addadec29adad /process.c | |
parent | e9a1ba232ac7b8f0ec9a7044039986f03505ed70 (diff) |
update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 <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). * |