| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Thanks so much for your help, Jim. My daemon is in fact calling daemon(),
and I don't call fork().
I think your second guess is correct - my daemon
is being started in a login context, instead of in the startup context.
According to Apple's 'Kernel Programming' book, there are 3 ways to launch
a program in the startup context
1. put it in a startup script so that it launches at boot time (I've done
this and it works fine)
2. start it using ssh (so my installer will need to run this -- but I
can't get 'ssh localhost <app>' to succeed)
3. login as the console user.
Are there any other ways to launch my program in the startup context
(while a user is logged in)?
You also mention the possibility of using standard BSD/UNIX facilities
instead of relying on OS X. But is there any BSD/UNIX interface for
launching an OS X Carbon application?
| References: | |
| >Re: open fails in daemon (From: Jim Magee <email@hidden>) | |
| >Re: open fails in daemon (From: "Steve Cox" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.