[Pythonmac-SIG] Python and Startup Items

Ronald Oussoren ronaldoussoren at mac.com
Sun May 1 12:46:16 CEST 2005


On 29-apr-2005, at 22:04, Mark Phillips wrote:

> On Apr 28, 2005, I wrote:
>
>
>> I have created a Startup Item for macos x server 10.3.9 that  
>> invokes a shell script to start a python process. The startup item  
>> is called but the script fails.
>>
>
> For anyone who read my query and wondered "yeah, what is the  
> solution to that"...
>
> Gary Perez provided the solution I needed: system daemons and  
> mach_init.d.

I don't think mach_init.d is part of the public "API". Why don't you  
use a StartupItem? My guess is that /usr/bin/env picks up the wrong  
python. What happens when you change you PATH to be the same as your  
interactive shell?


>
> You can read his page regarding Webware for details. Scroll to the  
> bottom of his page. Worked perfectly. <http://mmh.neurobashing.com/ 
> webware/panther.html>
>
> BTW, I failed to specify in my post that I was concerned with  
> system services, not user level startup behavior.
>
> Mark Phillips
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>



More information about the Pythonmac-SIG mailing list