Re: Launching and application in 32-bit in Leopard
Re: Launching and application in 32-bit in Leopard
- Subject: Re: Launching and application in 32-bit in Leopard
- From: Ken Ferry <email@hidden>
- Date: Tue, 6 Oct 2009 23:50:34 -0700
You could also use posix_spawn for this. See man posix_spawn, the spawn.h
header, and in particular man posix_spawnattr_setbinpref_np.
posix_spawn is a replacement for the fork/exec method of launching a
process.
-Ken
On Tue, Oct 6, 2009 at 10:48 AM, Sean McBride <email@hidden>wrote:
> On 10/6/09 10:36 AM, John Horigan said:
>
> >Does Leopard provide a means for controlling whether an application
> >launches in 32-bit or 64-bit? Snow Leopard has the new NSWorkspace
> >method launchApplicationAtURL:options:configuration:error:
>
> See 'man arch' for one way.
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng email@hidden
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
>
> _______________________________________________
>
> 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
>
_______________________________________________
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