diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-08-03 18:16:32 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-08-03 18:16:32 +0900 |
commit | 785c70e764c3222f9accac2555246d3921a7263d (patch) | |
tree | 434530d8d2295439f06c926719c7cc4bea2b0655 /process.c | |
parent | b5e94916bfb6aca65211047dcc4c55481c5b30a2 (diff) |
[DOC] mention how the command is passed to the shell [ci skip]
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 3 |
1 files changed, 2 insertions, 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: |