Canaryd.Apps.Unresponsive (canaryd v0.3.0)

Copy Markdown View Source

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 opens the same app bundle.

Returns the third-party GUI apps that macOS marks as unresponsive.

Functions

close(arg1)

Stops the current process without opening a replacement app.

restart(arg1)

Stops the unresponsive process and opens the same app bundle.

scan()

Returns the third-party GUI apps that macOS marks as unresponsive.