Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .