Re: can't run app from applications folder -- permissions problem?
Re: can't run app from applications folder -- permissions problem?
- Subject: Re: can't run app from applications folder -- permissions problem?
- From: Sherm Pendley <email@hidden>
- Date: Mon, 17 Apr 2006 19:06:15 -0400
On Apr 17, 2006, at 6:19 PM, Ben Dougall wrote:
sh: /Applications/: is a directory
here's the line that calls the command line utility:
system( [[NSString stringWithFormat:@"%@/CpMac -p %@ %@",
[[NSBundle mainBundle] resourcePath], origFile, backupTmpFile]
cString] );
That last %@ in the format should be %s, since you're passing a C
string there.
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
_______________________________________________
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