[前][次][番号順一覧][スレッド一覧]

ruby-changes:67006

From: Nobuyoshi <ko1@a...>
Date: Sat, 31 Jul 2021 11:40:42 +0900 (JST)
Subject: [ruby-changes:67006] e294beb731 (master): [DOC] Fix Process::exec documentation [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=e294beb731

From e294beb731eec7f0597c4275c42daf8b09fe643d Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sat, 31 Jul 2021 11:38:27 +0900
Subject: [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).
---
 process.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/process.c b/process.c
index 7f91b8c..cf4a5a5 100644
--- a/process.c
+++ b/process.c
@@ -3155,7 +3155,7 @@ NORETURN(static VALUE f_exec(int c, const VALUE *a, VALUE _)); https://github.com/ruby/ruby/blob/trunk/process.c#L3155
  *  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
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]