• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSUserUnixTask and com.apple.foundation.UserScriptService crash [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSUserUnixTask and com.apple.foundation.UserScriptService crash (From: "email@hidden" <email@hidden>)
 >Re: NSUserUnixTask and com.apple.foundation.UserScriptService crash [SOLVED] (From: email@hidden)

  • Prev by Date: Re: NSUserUnixTask and com.apple.foundation.UserScriptService crash [SOLVED]
  • Next by Date: network programming
  • Previous by thread: Re: NSUserUnixTask and com.apple.foundation.UserScriptService crash [SOLVED]
  • Next by thread: Re: NSApplicationScriptsDirectory access for helper tool
  • Index(es):
    • Date
    • Thread