Re: Cocoa Programming iPing exercise
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