Programmatically launch Terminal.app with a specified command (and custom colors)

后端 未结 6 722
夕颜
夕颜 2020-12-08 01:03

I can launch an xterm from the command line (or a program, via a system call) like so:

/usr/X11/bin/xterm -fg SkyBlue -bg black -e myscript

6条回答
  •  星月不相逢
    2020-12-08 01:28

    you can launch terminal with the following command, not sure how to specify colors:

     open /Applications/Utilities/Terminal.app/
    

提交回复
热议问题