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 protected]>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 protected]
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
>
> _______________________________________________
>
> Cocoa-dev mailing list ([email protected])
>
> 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/kenferry%40gmail.com
>
> This email sent to [email protected]
>
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to