Exception: PTY::ChildExited

Inherits:
RuntimeError
  • Object
show all
Defined in:
pty.c,
pty.c

Overview

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

Instance Method Summary collapse

Instance Method Details

#statusObject

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



82
83
84
85
86
# File 'pty.c', line 82

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