diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-07-30 19:20:09 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-07-30 19:36:17 +0900 |
commit | 01d9e7f26cc58dd280f0a08f0d12b7e7b7424147 (patch) | |
tree | b946e1c25ccca6e80401d3df98a4a5ba8acc5b17 /process.c | |
parent | ff6c17602841bff57d3a489b8119c9643dbc7ebe (diff) |
[DOC] Fix Process::exec documentation [ci skip]
The environment variable `RUBYSHELL` is used only on Windows, as
well as `COMSPEC`.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4694
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 4 |
1 files changed, 2 insertions, 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: |