update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bad859ca3e
commit
b41bc68688
@ -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.
|
* This behavior is modified by env and options.
|
||||||
* See <code>spawn</code> for details.
|
* 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_
|
* This method modifies process attributes according to _options_
|
||||||
* (details described in <code>spawn</code>)
|
* (details described in <code>spawn</code>)
|
||||||
* before <code>exec(2)</code> system call.
|
* before <code>exec(2)</code> system call.
|
||||||
* The modified attributes may be retained when <code>exec(2)</code> system call fails.
|
* The modified attributes may be retained when <code>exec(2)</code> system call fails.
|
||||||
* For example, hard resource limits is not restorable.
|
* 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
|
* exec "echo *" # echoes list of files in current directory
|
||||||
* # never get here
|
* # never get here
|
||||||
|
Loading…
x
Reference in New Issue
Block a user