r/macosprogramming • • Jul 20 '24

Run in background?

Post image
4 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/retsotrembla Jul 20 '24

Yes - macOS is a full unix. a .app can use fork() and exec() or start a command-line helper app that lives in your app bundle, and writes to a shared directory that only your full app-with-a-user-interface can access: https://developer.apple.com/documentation/foundation/filemanager/1412643-containerurl/