Re: Launchd Agents, Login Items, and Tiger
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Nov 13, 2007, at 6:25 PM, Peter Seebach wrote: Hmmm. You might be able to do something clever. If using launchd won't cut it, is there an alternative approach for not just launching me at login, but also re-launching me if I crash? #!/bin/sh while true do MyProgram done Obviously, I don't anticipate crashing, but the project requirements I've been handed specify automatic re-launching of this background helper app, and I'd prefer to find a way to satisfy the requirements rather than argue to have the requirement removed. I can think of other alternatives, but they are messier. davez _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Agreed. It makes sense -- but I don't know of a good way to do it. I think Peter's approach is the best option for Tiger automatic relaunch of programs within the session. This email sent to site_archiver@lists.apple.com
participants (1)
-
Dave Zarzycki