• 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: determine whether an ancillary program/task can run
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: determine whether an ancillary program/task can run


  • Subject: Re: determine whether an ancillary program/task can run
  • From: Martin Wierschin <email@hidden>
  • Date: Thu, 01 Sep 2011 16:05:38 -0700

>> The problem is that this ancillary program is sometimes Intel-only, or sometimes PPC-only, while the main application is Universal. The use of this ancillary program is not mandatory, so displaying an error message, or using a fallback solution is acceptable. The issue is that trying to run an ancillary program on an unsupported architecture triggers a hard crash:
>
> Really?! That sounds like an OS bug. NSTask should just return some POSIX error code if it can’t launch the process. What OS version is
> this?

The user's PPC machine has 10.5.8, trying to run an Intel-only tool via NSTask. Old I know, but for now still supported by us.

I just tried having my Intel machine/app run a PPC tool via NSTask, and that brings up the Rosetta info/warning dialog and doesn't crash the parent app. So perhaps this has already been corrected to be handled more gracefully. Well, I'm still stuck getting this working for older machines.

~Martin

_______________________________________________

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: 
 >determine whether an ancillary program/task can run (From: Martin Wierschin <email@hidden>)
 >Re: determine whether an ancillary program/task can run (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: determine whether an ancillary program/task can run
  • Next by Date: Re: determine whether an ancillary program/task can run
  • Previous by thread: Re: determine whether an ancillary program/task can run
  • Next by thread: Re: determine whether an ancillary program/task can run
  • Index(es):
    • Date
    • Thread