Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

i have some proprietary command line tool for windows and i wonder, if it's anyhow possible to "turn it into" a command line tool for osx. what i would like to know -- is it possible to run a windows cli-only tool on osx using darwine? from osx terminal?


share|improve this question
Anyway, I suggest you use Wine Bottler rather than Darwine - see – Karel Bílek Aug 9 '10 at 12:19
up vote 0 down vote accepted


cd "/Users/Me/where/is/my/app/" && exec /path/to/executable/wine "myapp.exe"

Save this as a shell script, for example. I don't have Darwine right now, but I think it should work

share|improve this answer
thanks ... this was already very helpful. i'll just have to play around some more withit -- do you know, how to avoid starting X11? afaik i should not need it for a cli application? i googled around and found something about using "ttydrv" in .wine/config, but this doesn't seem to work ... – harald Aug 9 '10 at 16:15
I found this on the page of Wine Bottler again, I don't use darwine much – Karel Bílek Aug 12 '10 at 2:42
yes, i'm using this -- but it opens x11. anyway ... thanks for your answer it helped me a lot! – harald Aug 16 '10 at 11:12

Your Answer


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.