Issue #5962 has been updated by Eric Hodel.

Category set to DOC
Assignee set to Eric Hodel


----------------------------------------
Bug #5962: Error in Process.{wait,wait2} rdoc
https://bugs.ruby-lang.org/issues/5962

Author: Jason Heiss
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version: 
ruby -v: Revision: 34422


The rdoc for Process.{wait,wait2} claim they will raise "SystemError".  That exception doesn't exist.  In reality they seem to raise Errno::ECHILD:

>> Process.wait
Errno::ECHILD: No child processes

Although perhaps the intention was to document that they raise SystemCallError (ECHILD's superclass)?  I'm including patches for both, feel free to pick either one.



-- 
http://bugs.ruby-lang.org/