Reads the macOS WindowServer unresponsive state for supported GUI processes.
macOS has no public API for the state shown in Force Quit. The JXA script resolves the private symbols at runtime. A missing symbol makes the scan unavailable and does not trigger any process action.
Summary
Functions
Stops the current process without opening a replacement app.
Stops the unresponsive process and starts or waits for its replacement.
Returns supported GUI apps and services that macOS marks as unresponsive.