• 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: NSUserUnixTask and the sandbox
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSUserUnixTask and the sandbox


  • Subject: Re: NSUserUnixTask and the sandbox
  • From: Mark Munz <email@hidden>
  • Date: Fri, 30 Nov 2012 00:39:23 -0800

To get outside the sandbox, the scripts have to be placed (by the end
user) in a special scripts folder which sandboxed apps can read from,
but cannot write to. It will (should) fail if you try to create a
script task from a URL that isn't inside the special folder. Apple
specifically says you cannot use NSUserScriptTask for scripts inside
your bundle and need to stick with NSTask.

Session 206 from the WWDC 2012 videos covers this in much better detail.

Mark

On Fri, Nov 30, 2012 at 12:10 AM, email@hidden
<email@hidden> wrote:
> Has anyone much experience with NSUserUnixTask  to run scripts outside of the sandbox?
>
> Can one, for instance, use the script to execute a helper auxiliary from the app bundle that would have been sand boxed if executed directly via NSTask?
>
> Regards
>
> Jonathan Mitchell
> Mugginsoft LLP
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
>
> 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



--
Mark Munz
unmarked software
http://www.unmarked.com/
_______________________________________________

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: NSUserUnixTask and the sandbox
      • From: "email@hidden" <email@hidden>
References: 
 >NSUserUnixTask and the sandbox (From: "email@hidden" <email@hidden>)

  • Prev by Date: NSUserUnixTask and the sandbox
  • Next by Date: Re: NSUserUnixTask and the sandbox
  • Previous by thread: NSUserUnixTask and the sandbox
  • Next by thread: Re: NSUserUnixTask and the sandbox
  • Index(es):
    • Date
    • Thread