1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[DOC] Fix Process::exec documentation [ci skip]

Shell reserved words and special built-in commands can be placed
at only the beginning of the command (except for leading white
spaces).
This commit is contained in:
Nobuyoshi Nakada 2021-07-31 11:38:27 +09:00
parent 01d9e7f26c
commit e294beb731
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -3155,7 +3155,7 @@ NORETURN(static VALUE f_exec(int c, const VALUE *a, VALUE _));
* these simple rules: * these simple rules:
* *
* * no meta characters * * no meta characters
* * no shell reserved word and no special built-in * * not starting with shell reserved word or special built-in
* * Ruby invokes the command directly without shell * * Ruby invokes the command directly without shell
* *
* You can force shell invocation by adding ";" to the string (because ";" is * You can force shell invocation by adding ";" to the string (because ";" is