Re: NSTask Permission denied
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