From 1c53f86bd9701abd6c6d3a787541e5c408f5aef9 Mon Sep 17 00:00:00 2001 From: stomar Date: Sun, 20 Jan 2019 15:07:17 +0000 Subject: process.c: [DOC] small improvements git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'process.c') diff --git a/process.c b/process.c index 990380bf62..fbb737d9bd 100644 --- a/process.c +++ b/process.c @@ -4434,8 +4434,8 @@ rb_spawn(int argc, const VALUE *argv) * Returns +nil+ if command execution fails. * An error status is available in $?. * - * If exception: true argument is passed, the method - * raises exception instead of +false+ or +nil+. + * If the exception: true argument is passed, the method + * raises an exception instead of returning +false+ or +nil+. * * The arguments are processed in the same way as * for Kernel#spawn. @@ -4452,7 +4452,7 @@ rb_spawn(int argc, const VALUE *argv) * config.h main.rb * * * - * Errors handling: + * Error handling: * * system("cat nonexistent.txt") * # => false -- cgit v1.2.3