Home : How to start an exe from the command line?

There are two ways of using WineBottlers? Wine builds from commandline. Which one to use depends on if you use command-line arguments.

  • If you need no command-line arguments, it's straight forward, just use the "open" statement in the terminal like this:
    open -a Wine PATH/TO/YOUR.exe
    
  • If you need command-line arguments try this:
    cd "/Applications/Wine.app/Contents/MacOS/"
    WINEPREFIX="/PATH/TO/YOUR/WINEPREFIX" ./startwine /"PATH/TO/YOUR.exe" -arguments