• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Launchd and terminal process launch - is there any difference from that process' viewpoint?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launchd and terminal process launch - is there any difference from that process' viewpoint?


  • Subject: Re: Launchd and terminal process launch - is there any difference from that process' viewpoint?
  • From: Ken Thomases <email@hidden>
  • Date: Mon, 8 Nov 2010 13:44:31 -0600

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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Launchd and terminal process launch - is there any difference from that process' viewpoint?
      • From: eveningnick eveningnick <email@hidden>
References: 
 >Launchd and terminal process launch - is there any difference from that process' viewpoint? (From: eveningnick eveningnick <email@hidden>)

  • Prev by Date: Re: Calling getter on const object
  • Next by Date: Re: Irregular layout of radio buttons
  • Previous by thread: Launchd and terminal process launch - is there any difference from that process' viewpoint?
  • Next by thread: Re: Launchd and terminal process launch - is there any difference from that process' viewpoint?
  • Index(es):
    • Date
    • Thread