• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Notify when App quits
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Notify when App quits


  • Subject: Notify when App quits
  • From: Matt Jaffa <email@hidden>
  • Date: Tue, 2 Mar 2004 18:58:07 -0700

Hi,

I was wondering if there was a way to
know when an application quits.

I have this daemon that gets apps to send it information,
and in this cocoa daemon, I want it to observe the process numbers of those apps.
Is there a way for it to be notified when like safari, mail, etc. apps quit, (the pid will disappear from ps aux)
and then have it call a CallBack function.

Thanks,
Matt
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Notify when App quits
      • From: Charles Srstka <email@hidden>
    • Re: Notify when App quits
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: NSEditor, NSEditorRegistration Protocols
  • Next by Date: NSView subclass monitoring events?
  • Previous by thread: Re: NSEditor, NSEditorRegistration Protocols
  • Next by thread: Re: Notify when App quits
  • Index(es):
    • Date
    • Thread