Skip to main content
All CollectionsKnowledge BaseGeneral issues
A Step hangs - a tool requires permission
A Step hangs - a tool requires permission
Updated over 4 months ago

Issue:

You try to use a script or tool which requires permissions where OS X presents a popup for acceptance (for example an osascript).

Possible solutions:

You can use a workaround to allow the tool, without manual interaction by the user. For example, try using https://github.com/jacobsalmela/tccutil.

To add osascript to the allowed OS X Accessibility list, you can call tccutil from your script (don’t forget to include it in your repository or download on-the-fly): sudo python tccutil.py -i /usr/bin/osascript

You can download the script from GitHub directly. For example: wget https://raw.githubusercontent.com/jacobsalmela/tccutil/master/tccutil.py.

Did this answer your question?