Re: NSTask
Re: NSTask
- Subject: Re: NSTask
- From: Alex Lock <email@hidden>
- Date: Tue, 7 Oct 2003 11:26:42 -0400
On Tuesday, October 7, 2003, at 10:51 AM, April Gendill wrote:
yes I understand that, which is why i have an array, the problem is
when I pass an argument like
-arg param
this is what doesn't work.
just an array of arguments works fine
April.
That was Phil's point...
You don't pass NSTask an array with one element for both argument and
parameter like such:
index 0: -arg param
You have to separate the argument from the parameter. So, in this
example, your NSArray passed to NSTask would contain:
index 0: -arg
index 1: param
leave off the whitespace and give it a try:)
Alex <email@hidden>
_______________________________________________
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.
References: | |
| >Re: NSTask (From: April Gendill <email@hidden>) |