W3cubDocs

/Ruby 3

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
static VALUE
echild_status(VALUE self)
{
    return rb_ivar_get(self, rb_intern("status"));
}

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

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