Project

General

Profile

Actions

Bug #5962

closed

Error in Process.{wait,wait2} rdoc

Added by jheiss (Jason Heiss) about 12 years ago. Updated about 12 years ago.

Status:
Closed
Target version:
-
ruby -v:
Revision: 34422
Backport:
[ruby-core:42327]

Description

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.

Actions

Also available in: Atom PDF

Like0
Like0Like0