How to avoid sandbox violation for process-info-listpids

I am working on a sandboxed app. The application contains few other helper apps. I am getting pids and path of these running helper apps using following APIs :

proc_listpids() proc_pidpath()

But the system is not allowing above calls and gives following error on Console :

Sandbox: MyAppName (14156) deny(1) process-info-listpids

How can we avoid this restriction via any entitlement ?

How can we avoid this restriction via any entitlement ?

No.

What are you using libproc for?

Is your app sandboxed because you intend to distribute it via the Mac App Store? Or just because it’s the right thing to do?

Share and Enjoy

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

How to avoid sandbox violation for process-info-listpids
 
 
Q