W3cubDocs

/Ruby 2.4

class PTY::ChildExited

Parent:
RuntimeError

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

Public Instance Methods

status() Show source

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

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

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.