• 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: Cocoa Programming iPing exercise
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Programming iPing exercise


  • Subject: Re: Cocoa Programming iPing exercise
  • From: Jack Carbaugh <email@hidden>
  • Date: Thu, 2 Oct 2008 11:12:33 -0400

could it be that [hostField stringValue] is not an object ? isn't "stringValue" just a value ?


On Oct 2, 2008, at Thu-10 /02 /08-10:06 AM, Joe Keenan wrote:


On Oct 2, 2008, at 10:01 AM, Sherm Pendley wrote:

On Thu, Oct 2, 2008 at 9:20 AM, Joe Keenan <email@hidden> wrote:

On Oct 1, 2008, at 1:25 PM, Shawn Protsman wrote:

NSArray *args = [NSArray arrayWithObject:[hostField stringValue]];

You forgot the nil argument at the end of the array.

-arrayWithObject: doesn't need one.

Oops. Good point. Hmm.

Shawn - are you absolutely SURE that reqkey is in /usr/local/bin? On your command line example, you don't specify the path.

Another thing to look at is if keyreq requires some environment variable that's present in your command line setup, but not in the NSTask environement.

joe

_______________________________________________

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

_______________________________________________

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


  • Follow-Ups:
    • Re: Cocoa Programming iPing exercise
      • From: j o a r <email@hidden>
References: 
 >Cocoa Programming iPing exercise (From: Shawn Protsman <email@hidden>)
 >Re: Cocoa Programming iPing exercise (From: Joe Keenan <email@hidden>)
 >Re: Cocoa Programming iPing exercise (From: "Sherm Pendley" <email@hidden>)
 >Re: Cocoa Programming iPing exercise (From: Joe Keenan <email@hidden>)

  • Prev by Date: Re: Cocoa Programming iPing exercise
  • Next by Date: Re: Direct use of NSScroller?
  • Previous by thread: Re: Cocoa Programming iPing exercise
  • Next by thread: Re: Cocoa Programming iPing exercise
  • Index(es):
    • Date
    • Thread