Apple’s Process class lets you run Terminal commands and command-line programs inside a Mac app. The following article shows how to use the Process class:

https://swiftdevjournal.com/running-a-command-line-program-from-a-mac-app/

#MacDev

Comments