Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password

Mac > Mac Programmer Help > Re: Quick NSStr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 16 Topic 3652 of 3849
Post > Topic >>

Re: Quick NSString question

by Jim <jim@[EMAIL PROTECTED] > Mar 12, 2008 at 08:30 AM

On 2008-03-12, David Phillip Oster <oster@[EMAIL PROTECTED]
> wrote:
>
> Glenn Andreas had the best suggestion: don't use system(), since you'll 
> get into the quoting problems I described. Instead use [NSTask 
> launchedTaskWithLaunchPath: arguments: ]
>
> Note that you the array of file paths that you get from a drag is 
> exactly what this wants for arguments: -  it will take care of calling 
> fileSystemRepresentation so the character set encoding issues between 
> NSString and the BSD layer will be handled correctly for you.

Right-o, I'll do some reading on that.

Thanks.

Jim
-- 
http://www.ursaMinorBeta.co.uk
"When one of the local cats, an especially fluffy creature with a vast
tail, rushed down the street towards me the other day, mewing delightedly,
I have to admit it was probably shouting 'HAZ CHEZBURGR?' " - Bella, ucsm
 



 16 Posts in Topic:
Quick NSString question
jim@[EMAIL PROTECTED] (j  2008-03-11 07:15:31 
Re: Quick NSString question
Gregory Weston <uce@[E  2008-03-11 04:18:11 
Re: Quick NSString question
Jim <jim@[EMAIL PROTEC  2008-03-11 08:41:30 
Re: Quick NSString question
David Phillip Oster <o  2008-03-11 07:26:34 
Re: Quick NSString question
glenn andreas <gandrea  2008-03-11 09:34:58 
Re: Quick NSString question
jim@[EMAIL PROTECTED] (j  2008-03-12 07:15:53 
Re: Quick NSString question
David Phillip Oster <o  2008-03-12 00:50:30 
Re: Quick NSString question
Jim <jim@[EMAIL PROTEC  2008-03-12 08:30:20 
Re: Quick NSString question
Jim <jim@[EMAIL PROTEC  2008-03-12 08:53:24 
Re: Quick NSString question
Jim <jim@[EMAIL PROTEC  2008-03-12 08:58:17 
Re: Quick NSString question
David Phillip Oster <o  2008-03-12 18:37:25 
Re: Quick NSString question
jim@[EMAIL PROTECTED] (j  2008-03-13 06:11:35 
Re: Quick NSString question
jim@[EMAIL PROTECTED] (J  2008-03-13 07:02:23 
Re: Quick NSString question
Ben Artin <macdev@[EMA  2008-03-11 10:06:29 
Re: Quick NSString question
jim@[EMAIL PROTECTED] (J  2008-03-14 07:06:23 
Re: Quick NSString question
Sherman Pendley <spamt  2008-03-25 10:12:54 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 7 19:01:58 CDT 2008.