Exception: PTY::ChildExited

Inherits:
RuntimeError
  • Object
show all
Defined in:
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



128
129
130
131
132
# File 'pty.c', line 128

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