From e294beb731eec7f0597c4275c42daf8b09fe643d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada 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(-) (limited to 'process.c') 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 -- cgit v1.2.3