Mac Terminal open app with a file opened

open -a /Applications/Sublime Text.app test.cpp

原文地址:https://www.cnblogs.com/juking/p/7093212.html