End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Process::Status#stopsig
stat.stopsig → integer or nil
process.c
View on GitHub ↗
static VALUE
pst_wstopsig(VALUE st)
{
int status = PST2INT(st);
if (WIFSTOPPED(status))
return INT2NUM(WSTOPSIG(status));
return Qnil;
}
Returns the number of the signal that caused stat to stop (or nil if self is not stopped).