mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
process.c: [DOC] fix grammar and double negative
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d31e847688
commit
09004db450
1 changed files with 2 additions and 2 deletions
|
@ -476,13 +476,13 @@ rb_last_status_get(void)
|
|||
* call-seq:
|
||||
* Process.last_status -> Process::Status or nil
|
||||
*
|
||||
* Return the status of the last executed child process in the
|
||||
* Returns the status of the last executed child process in the
|
||||
* current thread.
|
||||
*
|
||||
* Process.wait Process.spawn("ruby", "-e", "exit 13")
|
||||
* Process.last_status #=> #<Process::Status: pid 4825 exit 13>
|
||||
*
|
||||
* If no child process has never been executed in the current
|
||||
* If no child process has ever been executed in the current
|
||||
* thread, this returns +nil+.
|
||||
*
|
||||
* Process.last_status #=> nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue