Re: daemonic - not working in Yosemite

Daniel Johnson <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
> On Nov 26, 2014, at 8:24 AM, Daniel Johnson <[email protected]> wrote:
> 
> 
>> On Nov 24, 2014, at 7:07 PM, Charles Lepple <[email protected]> wrote:
>> 
>> Hmm, I think the only hard requirement is that the direct descendent of launchd (the first copy of the child process) can't exit. You're right that running daemon() breaks that rule, but I think a simple fork-and-exec is okay as long as the parent hangs around after the fork.
>> 
> 
> You're right. I misremembered. It's fork and exit that's bad, which is what daemon() does, not fork and exec.
> 
> Daniel
> 

Well, crap. I just had a catastrophic hard drive failure and all my work is gone. :( I was almost done too. And I had no backup because I'm an idiot. I can recreate it but it'll take awhile. Sigh.

Daniel


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.