From: Jason Heiss Date: 2012-02-03T05:55:51+09:00 Subject: [ruby-core:42327] [ruby-trunk - Bug #5962][Open] Error in Process.{wait,wait2} rdoc Issue #5962 has been reported by Jason Heiss. ---------------------------------------- Bug #5962: Error in Process.{wait,wait2} rdoc https://bugs.ruby-lang.org/issues/5962 Author: Jason Heiss Status: Open Priority: Normal Assignee: Category: 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/