lanuchd questions
lanuchd questions
- Subject: lanuchd questions
- From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
- Date: Mon, 20 Oct 2008 07:53:03 -0400
- Thread-topic: lanuchd questions
Title: lanuchd questions
I hope this is the right list for these questions, if not, please tell me where I should go.
I'm working on integrating a set of Linux programs into our product on the mac, and, as in any porting job, I'm having certain problems getting everything to work just right. In this case, the Linux application is actually a set of programs, each of which does a different job, in a particular order. The first program must be run exactly once, before the other programs are run. It creates a set of files that the other programs parse and use while they are running. These other programs are effectively daemons (which have a -nofork option, so they will work with launchd), and need to be kept alive. This means that I can't just write one script that launches them in order, because then the parameters I pass to launchd will either keep the whole script alive, or run it just once. So, what is the best way of forcing the scripts to run in the particular order I want them to run in?
Thanks,
Cem Karan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden