Re: NSUserUnixTask and com.apple.foundation.UserScriptService crash [SOLVED]
Re: NSUserUnixTask and com.apple.foundation.UserScriptService crash [SOLVED]
- Subject: Re: NSUserUnixTask and com.apple.foundation.UserScriptService crash [SOLVED]
- From: Quincey Morris <email@hidden>
- Date: Sun, 02 Dec 2012 10:04:45 -0800
On Dec 2, 2012, at 02:18 , email@hidden wrote:
> Thanks to Fritz for pointing out that the error detection was not up to scratch.
> if (!userScriptsFolderURL || *error) {
> [NSException raise:MGSTaskStartException format:@"Bad user scripts folder URL"];
> }
> if (!_unixTask || *error) {
> [NSException raise:MGSTaskStartException format:@"Bad user task"];
> }
Except you didn't bring it up to scratch, though Fritz was very explicit about what was needed. The correct versions are:
> if (!userScriptsFolderURL) {
> [NSException raise:MGSTaskStartException format:@"Bad user scripts folder URL"];
> }
> if (!_unixTask) {
> [NSException raise:MGSTaskStartException format:@"Bad user task"];
> }
_______________________________________________
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