Re: NSTask failing
Re: NSTask failing
- Subject: Re: NSTask failing
- From: Randall Meadows <email@hidden>
- Date: Fri, 4 Apr 2008 16:06:18 -0600
On Apr 4, 2008, at 3:52 PM, Hamish Allan wrote:
On Fri, Apr 4, 2008 at 10:43 PM, Randall Meadows <cocoa-dev@not-
pc.com> wrote:
I assume there was supposed to be a [tarTask launch] in there
somewhere,
eh? :)
If you like :)
Now, I have no idea how I'm goint to detect an ACTUAL error
condition;
You could just connect the resultsPipe to stderr, and scan for "error"
or similar.
I was able to use -setCurrentDirectoryPath: to something that doesn't
require me to pass full paths of files, and now the result code is 0.
So, problem solved, except for that whole "I finished successfully,
but I'm going to tell you I died anyway" drama...
Thanks for everyone's help!
randy
_______________________________________________
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