On Nov 8, 2010, at 1:10 PM, eveningnick eveningnick wrote:

> what is the difference between a process that was started by launchd and the
> same process, started via terminal (without sudo command) in Mac OS 10.5?

The execution context, as defined in this tech note: 
http://developer.apple.com/library/mac/#technotes/tn2005/tn2083.html

> Does the first one has some restrictions when it calls Accessibility
> functions?

It may, depending on the session type.  Have you set LimitLoadToSessionType in 
your agent's launchd plist?


> This Launch Agent is supposed to be started everytime, when the system
> starts.

When the system starts, or when a user logs in to a GUI session?  What's the 
point of your agent running for a given user when that user is not logged in?  
You may be configuring your agent to be always running at the cost of full 
access to the Window Server and its services.

Regards,
Ken

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to