从作为并行来宾运行的 Windows 在 Mac OS 主机上运行程序
在 Parallels 7 中运行 Windows 7 的 MacBook Pro 上,我需要通过 Windows 端的命令行调用在 Mac 端运行 Unix 可执行文件。在 Windows 资源管理器中,我可以使用“在 Mac 上打开”,但我需要一种通过批处理文件或任何可以在命令行上表达的其他内容来执行此操作的方法。我希望 Parallels Tools 可能有一个命令可以执行此操作,但我找不到任何东西。
这看起来应该很简单,但我的搜索没有发现任何结果。
我还尝试在 Mac 端创建一个别名,并将其添加到我的“应用程序”文件夹中。我希望它会出现在“开始”>“所有程序> Parallels 共享应用程序,这可能允许我使用批处理文件访问它。但是,我没有看到它。我不确定向 Parallels 共享应用程序添加新条目需要什么。也许重新启动就可以了,但我还没有尝试过。
感谢您的任何建议。
On a MacBook Pro running Windows 7 in Parallels 7, I need to run a Unix Executable File on the Mac side via a command line invocation on the Windows side. In Windows Explorer, I can use Open on Mac, but I need a way to do this via a batch file or anything else that can be expressed on a command line. I was hoping that Parallels Tools might have a command that can do this, but I can't find anything.
This seems like it should be pretty straightforward, but my searches have turned up nothing.
I also tried creating an alias on the Mac side, which I added to my Applications folder. I was hoping that it would appear in Start > All Programs > Parallels Shared Applications, which might allow me to access it with a batch file. However, I don't see it. I'm not sure what it takes to add new entries to Parallels Shared Applications. Maybe a reboot would do it, but I have not tried that yet.
Thanks for any advice.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Platypus 应用程序似乎可以帮助解决此问题。它将 shell 脚本包装到 Mac 应用程序中。不幸的是,我无法让 Parallels 提供对 Platypus 生成的应用程序的访问,就像它提供对其他 Mac 应用程序的访问一样。
It seems like the Platypus app might be able to help with this. It wraps a shell script into a Mac App. Unfortunately I can't get Parallels to provide access to the Platypus generated app the same way it provides access to the other Mac apps.