[Pythonmac-SIG] appscript and launching apps from "background-only" Python processes

Bill Janssen janssen at parc.com
Wed Oct 29 01:32:25 CET 2008


I'm starting a Python daemon using SystemStarter, and in it I'm using
appscript to launch an app (Entourage).  I get the following error:

 CantLaunchApplicationError: CantLaunchApplicationError -606: Application is background-only.

If I start the same daemon from the command-line manually, it works
fine.  I'm guessing that some environment variable is not being set by
SystemStarter, which is what makes it "background-only".  Can anyone
shed some light on this?

Bill


More information about the Pythonmac-SIG mailing list