版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zhaolaoda2012/article/details/73163485
- 通过终端
如果有空格和其他特殊字符,在空格前面加一个斜杠,就行了,不然没有用的。
open -n /Applications/Visual\ Studio.app
- 通过AppleScript
可以参考这篇链接:这是个连接
open -n /Applications/Visual\ Studio.app