Run host command from command line in Wine?

Questions about Wine on macOS.
Locked
emendelson
Level 2
Level 2
Posts: 24
Joined: Sat Apr 12, 2014 12:53 pm

Run host command from command line in Wine?

Post by emendelson »

Hello,

I'm trying to figure out a way to run an OS X host command from the Wine command line. The methods in the FAQ (and in various answers that I've found on line) no longer seem to work.

For example, I've seen it suggested that I should be able to do something like this:

Code: Select all

cmd /c start /unix open /Applications/Calculator.app
But this doesn't open the Calculator. I've tried various alternatives, with no success. Does anyone know an up-to-date method that could accomplish this?

I actually want to run some Applescripts with the osascript command, but I simply want to get started with something simple like opening the Calculator. Many thanks for any help.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Run host command from command line in Wine?

Post by dimesio »

https://wiki.winehq.org/FAQ#How_do_I_la ... ication.3F works for Linux; I don't know if it will work on MacOSX.
emendelson
Level 2
Level 2
Posts: 24
Joined: Sat Apr 12, 2014 12:53 pm

Re: Run host command from command line in Wine?

Post by emendelson »

That made me figure out what the problem is - thank you. I'm using Wineskin Winery, which has the "wine" executable deep inside an application bundle and doesn't install it in the ordinary path; my problem will be figuring out how to access the wine executable, but that should be solvable. Thank you again for pointing me in the right direction, which I should have figured out long ago...
Locked