mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Fix Process::exec documentation [ci skip]
The environment variable `RUBYSHELL` is used only on Windows, as well as `COMSPEC`.
This commit is contained in:
parent
ff6c176028
commit
01d9e7f26c
Notes:
git
2021-07-30 19:36:40 +09:00
1 changed files with 2 additions and 2 deletions
|
@ -3148,8 +3148,8 @@ NORETURN(static VALUE f_exec(int c, const VALUE *a, VALUE _));
|
|||
* shell expansion before being executed.
|
||||
*
|
||||
* The standard shell always means <code>"/bin/sh"</code> on Unix-like systems,
|
||||
* same as <code>ENV["RUBYSHELL"]</code>
|
||||
* (or <code>ENV["COMSPEC"]</code> on Windows NT series), and similar.
|
||||
* otherwise, <code>ENV["RUBYSHELL"]</code> or <code>ENV["COMSPEC"]</code> on
|
||||
* Windows and similar.
|
||||
*
|
||||
* If the string from the first form (<code>exec("command")</code>) follows
|
||||
* these simple rules:
|
||||
|
|
Loading…
Reference in a new issue