There is a problem launching graphical agents that I traced down to a lack of environment variables. Graphical programs need the DISPLAY variable to be passed through to them. It's probably a good idea to set the locale as well, and perhaps more things (HOME, maybe?)
Here's the workaround that I added to my job definition to get a graphical program to launch as an agent:
There is a problem launching graphical agents that I traced down to a lack of environment variables. Graphical programs need the DISPLAY variable to be passed through to them. It's probably a good idea to set the locale as well, and perhaps more things (HOME, maybe?)
Here's the workaround that I added to my job definition to get a graphical program to launch as an agent:
IMHO launchd should automatically set these environment variables for agents.