Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

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.)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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