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 wrote:
> On 10/6/09 10:36 AM, J
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.
--
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:
But I can't find an equivalent method that works for OS X 10.5. How
did XCode do it?
-- john ho