Search code examples
cocoamacosprocessmacos-carbon

Get notified when a process or application is killed/forcekilled?


I am trying to monitor if certain application has killed, crashed, force killed on system. How can I get such notifications on Mac.

What is the common approach to implement such design?

Thank you


Solution

  • Observing Process Lifetimes Without Polling