123456789_123456789_123456789_123456789_123456789_

Exception: PTY::ChildExited

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, ::RuntimeError, Exception
Instance Chain:
self, ::RuntimeError, Exception
Inherits: RuntimeError
Defined in: ext/pty/pty.c,
ext/pty/pty.c

Overview

Thrown when check is called for a pid that represents a process that has exited.

Instance Method Summary

  • #status

    Returns the exit status of the child for which PTY#check raised this exception.

Instance Method Details

#status

Returns the exit status of the child for which PTY#check raised this exception

[ GitHub ]

  
# File 'ext/pty/pty.c', line 82

static VALUE
echild_status(VALUE self)
{
    return rb_ivar_get(self, rb_intern("status"));
}