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



68
69
70
71
72
# File 'pty.c', line 68

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