Mac OS X - run shell script from the desktop GUI

前端 未结 3 1282
有刺的猬
有刺的猬 2020-12-29 02:53

You can create a shell script or a Python or Ruby script and run it on the Mac by using \"Terminal\" ... if you have Finder open, and you click on the icon for the file cont

3条回答
  •  攒了一身酷
    2020-12-29 03:33

    Yes - just put a .command suffix on the script.

    Note: make sure the script is executable, e.g.

    $ chmod +x myscript.command
    

提交回复
热议问题