Re: NSTask failing
Re: NSTask failing
- Subject: Re: NSTask failing
- From: Randall Meadows <email@hidden>
- Date: Fri, 4 Apr 2008 15:46:22 -0600
On Apr 4, 2008, at 3:40 PM, Peter Maurer wrote:
I've tried making the arguments only 1 entry in the array, and the
same thing; I've both quoting and not quoting the arguments, and
the same thing; I've tried using a dash with the options and
without, and the same thing--always status=2 (fatal error).
You should unquote those paths, because ...
Done.
As far as getting that error 2 for unquoted paths is concerned, it
would definitely be interesting to see whether logging your
arguments to the console yields the exact same paths you've used
when doing this successfully in Terminal.
I'm actually *copying* the 'po args' output in my Xcode console to the
Terminal window where I'm entering the command, so I'm pretty sure
they're the same! :)
See my other message for the "resolution" to this problem.
_______________________________________________
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