End of Life Ruby 3.0 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);
if (WIFSTOPPED(status))
return Qtrue;
else
return Qfalse;
}
Returns true if this process is stopped. This is only returned if the corresponding wait call had the Process::WUNTRACED flag set.