End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Process::Status#signaled?
stat.signaled? → true or false
process.c
View on GitHub ↗
static VALUE
pst_wifsignaled(VALUE st)
{
int status = PST2INT(st);
return RBOOL(WIFSIGNALED(status));
}
Returns true if stat terminated because of an uncaught signal.