Re: Launching and application in 32-bit in Leopard

2009-10-06 Thread Ken Ferry
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

Re: Launching and application in 32-bit in Leopard

2009-10-06 Thread Sean McBride
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. --

Launching and application in 32-bit in Leopard

2009-10-06 Thread John Horigan
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