Mac App on El Capitan with Python Child Process
<p>I have been building an Mac app and part of its architecture is that it spins off a python child process to index some files in the background (there are simpler libraries to use for indexing for python). It launches the python by executing the python file directly. The parent Mac app and child python process then communicate with each other through sockets.</p>

<p>After upgrading my MacBook to El Capitan, I've been hit with the firewall issue described here: <a href="https://stackoverflow.com/questions/34760163/how-to-allow-python-app-to-firewall-on-mac-os-x/34985338#34985338">How to allow Python.app to firewall on Mac OS X?</a>.</p>

<p>When I packaged my application and deployed it locally for the first time on El Capitan, I got the same "Do you want the application 'Python.app' to accept incoming network connections" dialog. I followed the steps in that post to resolve the issue for myself. However, my eventual goal is to distribute my app to other users, in that case I wouldn't want them to go through disabling the System Integrity Protection like the post suggested to make my app work.</p>

<p>I know I could try to integrate the indexing functionality into the Mac app itself, but what are some other possible solutions to this problem? How would I allow the python process to communicate via sockets without the users, or myself, needing to go through a complicated code signing process?</p>