[DOC] Fix backquote exit status docs

It is `exitstatus`, not `status`, per 3d5619c8b1/process.c (L581)
This commit is contained in:
Kenyon Ralph 2025-06-26 18:09:31 -07:00 committed by GitHub
parent f8cd26736f
commit d6eecec2ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
io.c
View file

@ -10668,7 +10668,7 @@ argf_readlines(int argc, VALUE *argv, VALUE argf)
* $ `date` # => "Wed Apr 9 08:56:30 CDT 2003\n"
* $ `echo oops && exit 99` # => "oops\n"
* $ $? # => #<Process::Status: pid 17088 exit 99>
* $ $?.status # => 99>
* $ $?.exitstatus # => 99>
*
* The built-in syntax <tt>%x{...}</tt> uses this method.
*