Invoking host system's programs with code running under Wine

Questions about Wine on macOS.
Locked
Exeman
Newbie
Newbie
Posts: 2
Joined: Tue Sep 13, 2011 6:04 am

Invoking host system's programs with code running under Wine

Post by Exeman »

Hi everyone!
Recently I've made up my mind to code together a small plug-in for foobar2000 so it would go better with Mac OS X (Growl notifications, Adium statuses etc.). For that I need a method of running the AppleScript interpreter 'osascript' from inside the plugin. I wonder if Wine provides its own way to do that, or at least allows to call fork()?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Invoking host system's programs with code running under

Post by vitamin »

Exeman wrote:For that I need a method of running the AppleScript interpreter 'osascript' from inside the plugin. I wonder if Wine provides its own way to do that, or at least allows to call fork()?
Wine already can start native system programs:
http://wiki.winehq.org/FAQ#head-831a837 ... aab001a347
Exeman
Newbie
Newbie
Posts: 2
Joined: Tue Sep 13, 2011 6:04 am

Re: Invoking host system's programs with code running under

Post by Exeman »

vitamin wrote:
Exeman wrote:For that I need a method of running the AppleScript interpreter 'osascript' from inside the plugin. I wonder if Wine provides its own way to do that, or at least allows to call fork()?
Wine already can start native system programs:
http://wiki.winehq.org/FAQ#head-831a837 ... aab001a347
Looks like just what I need. Thank you, I must have overlooked that section while reading through.
Locked