简体   繁体   English

从Parallels或VMWare中的Mac应用程序启动Windows应用程序

[英]Starting a Windows app from a Mac app in Parallels or VMWare

Given: 鉴于:

  • Mac with either Parallels or VMWare 带有Parallels或VMWare的Mac
  • A virtual machine with Windows installed. 安装了Windows的虚拟机。
  • A Windows GUI application Foo.exe installed in that Windows virtual machine. 该Windows虚拟机中安装了Windows GUI应用程序Foo.exe。
  • A Mac application Bar.app Mac应用程序Bar.app

I'd like to start Foo.exe from Bar.app. 我想从Bar.app启动Foo.exe。

What are reasonable approaches to do this for Parallels? 什么是Parallels合理的方法?

How about VMWare? VMWare呢?

Note: I've tried using Parallel's "prlctl exec" command, which can run a command on the VM's OS -- but I have not managed to make it launch a GUI application on the VM's display. 注意:我已经尝试使用Parallel的“ prlctl exec”命令,该命令可以在VM的OS上运行命令-但是我没有设法使其在VM的显示器上启动GUI应用程序。

One way is: 一种方法是:

You can register/associate file types in MAC OS X to exes in VMWare. 您可以在MAC OS X中将文件类型注册/关联到VMWare中的exe。 So by programmatically launching an associated data file in the Finder it would launch the appropriate VMWare WindowsApp's exe. 因此,通过在Finder中以编程方式启动关联的数据文件,它将启动适当的VMWare WindowsApp的exe。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM