problem allowing MacOS app to run kill command

Hello, I’m trying to allow my MacOS app written in swift to run a kill command. it works when I test it manually in my terminal but when I run it in the app I get an not permitted error.

j was reading about work space authorization and put in a request but i got a response saying I didn’t need that type of authorization for what I’m doing. Any help pointing me in the right direction?

https://developer.apple.com/documentation/appkit/nsworkspaceauthorizationtype

Thanks!

You’re almost certainly hitting a sandbox restriction. Do you plan to distribute your app via the Mac App Store?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

problem allowing MacOS app to run kill command
 
 
Q