Mac OS X: Bring GUI applications to foreground when launched from the command line

前端 未结 2 697
忘了有多久
忘了有多久 2021-01-13 13:25

Is there a way to bring GUI applications to the foreground when starting them from within Terminal on Mac OS X? If I run

/Applications/TextEdit.app/Contents/         


        
2条回答
  •  無奈伤痛
    2021-01-13 14:14

    At least for TextEdit and similar GUI apps, open will work:

    > open /Applications/TextEdit.app
    

提交回复
热议问题