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#stopped?
stat.stopped? → true or false
process.c
View on GitHub ↗
static VALUE
pst_wifstopped(VALUE st)
{
int status = PST2INT(st);
return RBOOL(WIFSTOPPED(status));
}
Returns true if this process is stopped. This is only returned if the corresponding wait call had the Process::WUNTRACED flag set.