ruby-changes:67005
From: Nobuyoshi <ko1@a...>
Date: Fri, 30 Jul 2021 19:36:31 +0900 (JST)
Subject: [ruby-changes:67005] 01d9e7f26c (master): [DOC] Fix Process::exec documentation [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=01d9e7f26c From 01d9e7f26cc58dd280f0a08f0d12b7e7b7424147 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 30 Jul 2021 19:20:09 +0900 Subject: [DOC] Fix Process::exec documentation [ci skip] The environment variable `RUBYSHELL` is used only on Windows, as well as `COMSPEC`. --- process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/process.c b/process.c index fa8c69d..7f91b8c 100644 --- a/process.c +++ b/process.c @@ -3148,8 +3148,8 @@ NORETURN(static VALUE f_exec(int c, const VALUE *a, VALUE _)); https://github.com/ruby/ruby/blob/trunk/process.c#L3148 * 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: -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/