Re: Daemons!
Re: Daemons!
- Subject: Re: Daemons!
- From: email@hidden
- Date: Sat, 26 Jan 2002 23:50:45 -0500
On Saturday, January 26, 2002, at 10:23 PM, Isaac Sherman wrote:
How would I go about creating a faceless application? No icon in the
dock,
no windows? I would have done it as an extension in Classic, but how
would
I go about it in OS X? If anyone knows where I can find documentation
about
this (or, even better, example code), please, let me know.
How about:
int main ()
{
doYourAppStuff ();
return 0;
}
Faceless, no icon, no dock. Plain vanilla C programs fit the bill,
there's nothing special
about interface-less applications on OSX. Apple has a code sample called
MyFirstDaemon
at:
http://developer.apple.com/samplecode/Sample_Code/Processes/MyFirstDaemon.
htm
but it doesn't really do anything except demonstrate the use of the
syslog and daemon calls. Hmm, look at that URL - is Apple using IIS and
MSFrontPage to maintain its developer web pages??!!?!? EWWWW!!!
Hope that helps,
email@hidden
References: | |
| >Daemons! (From: Isaac Sherman <email@hidden>) |