process.c: [DOC] small improvements

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
stomar 2019-01-20 15:07:17 +00:00
parent f284eb3d54
commit 1c53f86bd9

View File

@ -4434,8 +4434,8 @@ rb_spawn(int argc, const VALUE *argv)
* Returns +nil+ if command execution fails. * Returns +nil+ if command execution fails.
* An error status is available in <code>$?</code>. * An error status is available in <code>$?</code>.
* *
* If <code>exception: true</code> argument is passed, the method * If the <code>exception: true</code> argument is passed, the method
* raises exception instead of +false+ or +nil+. * raises an exception instead of returning +false+ or +nil+.
* *
* The arguments are processed in the same way as * The arguments are processed in the same way as
* for Kernel#spawn. * for Kernel#spawn.
@ -4452,7 +4452,7 @@ rb_spawn(int argc, const VALUE *argv)
* config.h main.rb * config.h main.rb
* * * *
* *
* Errors handling: * Error handling:
* *
* system("cat nonexistent.txt") * system("cat nonexistent.txt")
* # => false * # => false