Exception: PTY::ChildExited

Inherits:
RuntimeError
  • Object
show all
Defined in:
ext/rubysl/pty/pty.c,
ext/rubysl/pty/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



148
149
150
151
152
# File 'ext/rubysl/pty/pty.c', line 148

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