mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] mention how the command is passed to the shell [ci skip]
This commit is contained in:
parent
b5e94916bf
commit
785c70e764
1 changed files with 2 additions and 1 deletions
|
@ -3149,7 +3149,8 @@ NORETURN(static VALUE f_exec(int c, const VALUE *a, VALUE _));
|
|||
*
|
||||
* The standard shell always means <code>"/bin/sh"</code> on Unix-like systems,
|
||||
* otherwise, <code>ENV["RUBYSHELL"]</code> or <code>ENV["COMSPEC"]</code> on
|
||||
* Windows and similar.
|
||||
* Windows and similar. The command is passed as an argument to the
|
||||
* <code>"-c"</code> switch to the shell, except in the case of +COMSPEC+.
|
||||
*
|
||||
* If the string from the first form (<code>exec("command")</code>) follows
|
||||
* these simple rules:
|
||||
|
|
Loading…
Reference in a new issue