Re: NSTask...Whois
Re: NSTask...Whois
- Subject: Re: NSTask...Whois
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 13 Nov 2003 17:03:02 +0100
[whois setArguments:[NSArray arrayWithObjects:@"-h",
@"whois.nic.uk",
@"realmacs.co.uk"]];
...
On Thursday, November 13, 2003, at 04:18 PM, Mark Davis wrote:
In the Terminal I can type this in and it gets me my whois information:
whois -h whois.nic.uk realmacs.co.uk
When I use it through NSTask,
[whois setArguments:[NSArray arrayWithObjects:@"-h
whois.nic.uk",@"realmacs.co.uk"]];
it returns a message saying:
usage: whois [-aAdgilmQrR6] [-c country-code | -h hostname] [-p port]
name ...
Any idea why this isn't working?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.