• 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: NSTask Permission denied
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask Permission denied


  • Subject: Re: NSTask Permission denied
  • From: "John C. Randolph" <email@hidden>
  • Date: Fri, 19 Nov 2004 15:06:28 -0800

Do you actually need to launch TextEdit as a sub-process, or would NSWorkspace's -launchApplication: API suffice?

-jcr

On Jul 21, 2004, at 8:11 PM, Jim Ways wrote:



I get the following dump when i attempt to use [NSTask
launch]. I want to launch a UEF under libary but i
cant even seem to lauch anything in applications.

runtime = [[NSTask alloc] init];
[runtime setLaunchPath:
@"/Applications/TextEdit.app"];
[runtime launch];

 *** NSTask: Task create for path
/Applications/TextEdit.app failed: 13, "Permission
denied".

Any ideas? Thanks Guys!








John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: NSTask Permission denied
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: My bug or Apple's?
  • Next by Date: Re: Fastest way to push strings to the screen in an NSView?
  • Previous by thread: Re: NSFilenamesPboardType
  • Next by thread: Re: NSTask Permission denied
  • Index(es):
    • Date
    • Thread