When it’s finished, the Terminal will display a “Process Completed” message, and the user can close the Terminal. Now, when someone double-clicks your script in the Mac Finder, the script will open a new Mac Terminal window, and then run the script inside that window. You can also leave out the usual #!/bin/sh part on the first line. Then make it executable, such as by running chmod from the MacOS Terminal: command extension and (b) make it executable.įor example, just name your Mac/Unix script like this: Solution: If you ever want to create a Unix shell script that you can give to someone else so they can double-click it and run it through the Mac OS X Finder, all you have to do is (a) name the file with the. MacOS Finder FAQ: Is there a way that I can execute a custom Unix shell script from the Mac Finder? You can now hire Alvin Alexander for Scala or Flutter side projects!Ĭontact me at (al) at valleyprogramming (dot) com for details.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |