• 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: Error in NSTask launch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in NSTask launch


  • Subject: Re: Error in NSTask launch
  • From: Rob Keniger <email@hidden>
  • Date: Fri, 17 Oct 2008 12:01:02 +1000


On 17/10/2008, at 11:49 AM, development2 wrote:

Now I know this is on the arguments that I am passing in to the command line, but they look fine to em (Above in code) can anyone else see anything wrong?


The array of arguments that you pass to NSTask must be an array of NSStrings. You are trying to include an NSNumber, you must convert it to a string first.

Also, you should use NSTemporaryDirectory() to get the location of the temporary files directory, you should not hard-code it.

--
Rob Keniger



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Error in NSTask launch (From: development2 <email@hidden>)

  • Prev by Date: Re: Error in NSTask launch
  • Next by Date: Converting from HTML
  • Previous by thread: Re: Error in NSTask launch
  • Next by thread: Converting from HTML
  • Index(es):
    • Date
    • Thread