• 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: NSApplicationScriptsDirectory access for helper tool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSApplicationScriptsDirectory access for helper tool


  • Subject: Re: NSApplicationScriptsDirectory access for helper tool
  • From: "email@hidden" <email@hidden>
  • Date: Sun, 02 Dec 2012 10:15:28 +0000

On 30 Nov 2012, at 15:00, email@hidden wrote:

> I think that this question can be distilled down to :
>
> Can a sandboxed app bundle helper tool use NSUserUnixTask to run a user script in NSApplicationScriptsDirectory?
>
> All my attempts have failed.
>
> Regards
>
> Jonathan Mitchell
>
To update this.

I was attempting to launch a user script from NSApplicationScriptsDirectory using a bundle helper tool and failed as the operation was not permitted.

I then ran the helper in the main app executable on a separate thread and the same code launched the user script without issue.

If anyone succeeds in launching a user script from NSApplicationScriptsDirectory via a helper tool then it would be good to know.

Jonathan
_______________________________________________

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

  • Prev by Date: Re: FileWrapper & iCloud
  • Next by Date: Re: NSUserUnixTask and com.apple.foundation.UserScriptService crash [SOLVED]
  • Previous by thread: Re: NSUserUnixTask and com.apple.foundation.UserScriptService crash [SOLVED]
  • Next by thread: network programming
  • Index(es):
    • Date
    • Thread