I was planning on writing a small daemon that detected whether another app crashed, thinking all the while that the system would send an NSWorkspaceDidTerminateApplicationNotification, but this is not the case.
Assuming that I do not want to create a launchd process to simply re-launch the crashed application, can I detect the crash any other way?
Perhaps I could monitor the system log? That seems unduly burdensome.
How about watching for if/when the /usr/sbin/spindump
process starts up?
Turns out what worked best as a crash monitor was reading the FSEventStream for Crash Logs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With