summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-07-31 11:38:27 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-07-31 11:38:27 +0900
commite294beb731eec7f0597c4275c42daf8b09fe643d (patch)
treeb5e60a06b3e0506402eaab06800bdc86a5cacf06 /process.c
parent01d9e7f26cc58dd280f0a08f0d12b7e7b7424147 (diff)
[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).
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index 7f91b8cce0..cf4a5a5bb8 100644
--- a/process.c
+++ b/process.c
@@ -3155,7 +3155,7 @@ NORETURN(static VALUE f_exec(int c, const VALUE *a, VALUE _));
* these simple rules:
*
* * 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
*
* You can force shell invocation by adding ";" to the string (because ";" is