How can I pass an argument to the "open" command to launch an application from the terminal in 32-bit mode?

open /path/to/some.app [--args arguments]

I have to manually check and uncheck the '32-bit mode' from the finder's info panel everytime: it's really annoying.

link|improve this question
feedback

1 Answer

I don't think there's any way to do it with open, but you can do it by using arch to run the binary within the application's bundle:

arch -arch i386 /path/to/appname.app/Contents/MacOS/appname &

(if you leave off the &, the shell will wait for the app to exit before letting you continue.)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.