summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorMaciek Rząsa <maciejrzasa@gmail.com>2022-11-19 03:38:16 +0100
committerGitHub <noreply@github.com>2022-11-19 11:38:16 +0900
commit50c6cabadca44b7b034eae5dcc8017154a2858bd (patch)
tree9ff50ba715a1d337cf9a2b491eb973d8f90ee3e2 /process.c
parent574d849869032f987d6b9168e01fe704258b8974 (diff)
downloadruby-50c6cabadca44b7b034eae5dcc8017154a2858bd.tar.gz
[DOC] Change formatting in the exec docs
The last part of the sentence was accidentally put in enumeration, It made an impression that it's one of the rules, not the result of applying the rules.
Diffstat (limited to 'process.c')
-rw-r--r--process.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/process.c b/process.c
index dabe9320f2..dbe2be5b56 100644
--- a/process.c
+++ b/process.c
@@ -3144,9 +3144,10 @@ NORETURN(static VALUE f_exec(int c, const VALUE *a, VALUE _));
* If the string from the first form (<code>exec("command")</code>) follows
* these simple rules:
*
- * * no meta characters
- * * not starting with shell reserved word or special built-in
- * * Ruby invokes the command directly without shell
+ * * no meta characters,
+ * * 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
* a meta character).