Re: determine whether an ancillary program/task can run
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