launchd question

Christopher Hunt huntc at internode.on.net
Tue Feb 27 13:34:36 PST 2007


On 28/02/2007, at 8:22 AM, Andrew Oliver wrote:

> You almost certainly need to quote the " symbols in your command:
>
>
>> 		<string>tell application \"World\" to quit</string>
Thanks for the reply. Unfortunately it makes no diff. In fact I'm  
surprised that you'd have to escape the quotes...

Anyhow could it be that I need to run it for a specific user? I've  
loaded it from the LaunchAgents directory of a user and I thought it  
would thus execute under that same user... is that not the case? A  
different user would definitely cause a problem given that the AS has  
to be connected to the application user's display to work.

What'd think?

Cheers,
-C


More information about the MacOSX-admin mailing list