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 PROTECTED]> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/intrntmn%40aol.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to