Windows cygwin 等效于 Mac OS X 打开命令
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/583855/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Windows cygwin equivalent of Mac OS X open command
提问by UltraNurd
I realize this is almost identical to Windows equivalent of the Mac OS X “open” commandand Linux equivalent of the Mac OS X "open" command, but I'm asking specifically about a command I can run in the Cygwin shell to use the current Windows UI application bound for the argument's extension, that as on OS X opens that application if necessary, and opens the specified file in that application.
我明白,这几乎是相同的Windows平台上类似Mac OS X的“打开”命令和Linux的等效Mac OS X的“打开”命令,但我专门询问了关于命令,我可以在Cygwin的shell中运行使用当前 Windows UI 应用程序绑定到参数的扩展名,在 OS X 上,如果需要,会打开该应用程序,并在该应用程序中打开指定的文件。
The cmd.exe start command isn't an option in the Cygwin shell, nor are xdg-open or gnome-open available through Cygwin.
cmd.exe 启动命令不是 Cygwin shell 中的一个选项,也不能通过 Cygwin 使用 xdg-open 或 gnome-open。
Is there an equivalent?
有等价物吗?