Is it possible to have an app, that runs within the sandbox, execute a shell script? The script makes use of two basic commands:
defaults write
killall
I know that there are some exceptions to the sandbox, that can be added via the entitlements file, but not sure wheter it would be possible to have the user confirm the execution of the small script and then run it?
Please give me a practical hint... When I run my app with sandbox off, everything works fine. With sandbox on both commands are not working and this is shown in the console:
killall: warning: kill -TERM 12322: Operation not permitted