Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Process::Status#stopped?
() -> bool
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, and if the corresponding wait call had the Process::WUNTRACED flag set, false otherwise.