Re: I have exorcised the deamons!
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.