Re: NSString into *arguments[]
Re: NSString into *arguments[]
- Subject: Re: NSString into *arguments[]
- From: Kevin Bracey <email@hidden>
- Date: Tue, 2 May 2006 00:04:21 +1200
thanks for your help,
Is this even possible?
but that gives me an incompatible pointer when I use it later I would
like it to be a
char *arguments[]
cheers
Kevin
On 01/05/2006, at 11:08 PM, Nir Soffer wrote:
On 01/05/2006, at 13:11, Kevin Bracey wrote:
char *arguments[] = { "/usr/local/accessit/data/Brooklyn.fdb",
[copyToPath UTF8String] , NULL };
UTF8String returns a const char *. Try
const char *arguments[] = { "foo", [bar UTF8String] , NULL };
I think you want to use NSTask.
Best Regards,
Nir Soffer
"Without music to decorate it, time is just a bunch of boring
production deadlines or dates by which bills must be paid."
-- Frank Zappa
_______________________________________________
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