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.

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?

thanks!

share|improve this question
    
Anyway, I suggest you use Wine Bottler rather than Darwine - see winebottler.kronenberg.org –  Karel Bílek Aug 9 '10 at 12:19

1 Answer 1

up vote 0 down vote accepted

from http://wiki.winehq.org/MacOSX/FAQs:

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 winebottler.kronenberg.org/trac/wiki/WineCmdLine 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

 
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.