>> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to