Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Process::Status#coredump?
() -> bool
coredump? → true or false
process.c
View on GitHub ↗
static VALUE
pst_wcoredump(VALUE st)
{
#ifdef WCOREDUMP
int status = PST2INT(st);
return RBOOL(WCOREDUMP(status));
#else
return Qfalse;
#endif
}
Returns true if the process generated a coredump when it terminated, false if not.
Not available on all platforms.