Skip navigation.
 
mlRe: NSWorkspace launch APIs don't work for non-universal on Intel?
FROM : David Dunham
DATE : Tue Jun 20 22:06:50 2006

On 20 Jun 2006, at 12:14, Alberto Ricart wrote:

> I have written a small launcher type utility that uses the 
> NSWorkspace apis to launch the executable. I have noticed that on 
> intel hardware, non-universal binaries fail to launch (actually 
> they do launch, but they tend to die with something similar to the 
> attached exception).
>
> Is there a way of forcing the launch to happen with rosetta?


It looks like you *are* opening with Rosetta:

> Command: P4Cocoa
> Path:    /LocalDeveloper/NonUniversal.app/Contents/MacOS/NonUniversal
> Parent:  WindowServer [2040]
> Rosetta: Yes


so perhaps something else is going on. How are you launching, -
[NSWorkspace launchApplication:]? Have you investigated Launch Services?

------------
David Dunham  <email_removed>  http://www.pensee.com/dunham/
"No matter how far you have gone on a wrong road, turn back." - 
Turkish proverb

Related mailsAuthorDate
mlNSWorkspace launch APIs don't work for non-universal on Intel? Alberto Ricart Jun 20, 21:14
mlRe: NSWorkspace launch APIs don't work for non-universal on Intel? David Dunham Jun 20, 22:06
mlRe: NSWorkspace launch APIs don't work for non-universal on Intel? Alberto Ricart Jun 20, 22:47
mlSOLVED: NSWorkspace launch APIs don't work for non-universal on Intel? Alberto Ricart Jun 20, 22:56