• 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
Re: I have exorcised the deamons!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I have exorcised the deamons!


  • Subject: Re: I have exorcised the deamons!
  • From: Eric Peyton <email@hidden>
  • Date: Wed, 20 Mar 2002 08:27:23 -0600

man signal is your friend.

Set up a signal handler and you can handle whatever you need.

Eric

On Tuesday, March 19, 2002, at 10:10 PM, Isaac Sherman wrote:

<jolly little brag>Everything is finally working well enough to remove the
"(forthcoming)" from my sig. I've finished alpha work on my first app, but
I'm not quite ready for a beta release.</jolly little brag>

I have a question, though. In a daemon, which is, in this case, a
Foundation-based tool, how would you implement a terminate (or similar)
function? If something else gives the process the signal to quit, I want it
to execute a function, rather than just default cleanup. I could override
NSApp and supply my own, with an application (that's just to give ya'll a
better idea of what I'm looking for, in case I wasn't clear). A pointer to
some place in the docs would be good, too. I'm not ever sure where to look!

TIA,


--
Isaac Sherman
MotaSoft Software
_______________________________________________
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.
_______________________________________________
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: I have exorcised the deamons!
      • From: Ingvar Nedrebo <email@hidden>
References: 
 >I have exorcised the deamons! (From: Isaac Sherman <email@hidden>)

  • Prev by Date: Re: Script commands and the application object
  • Next by Date: Show/Hide a component?
  • Previous by thread: I have exorcised the deamons!
  • Next by thread: Re: I have exorcised the deamons!
  • Index(es):
    • Date
    • Thread