Mac App refer to Python executable
I wanted to refer to a Python shipped with an app: /Applications/FreeCAD.app/Contents/lib/Python
But Wingware won't let me
Some values are invalid:
- Could not launch or inspect Python executable '/Applications/FreeCAD.app/Contents/lib/Python'. It should be the name of a Python interpreter that is on your PATH (such as python, python3.4, python.exe), a full path to the Python interpreter you wish to use, or a command line that invokes Python with any appended arguments.
Please correct the values and try again.
I'd rather guess this is some silly Mac security feature. However, how do I get rid of it and refer to the app's executable (without having to copy it to some local directory)?