FileWatchers and osascript
I have a shell file watcher that uses osascript(applescript) to refresh a browser. Due to Apple's new permission requirements an app that wants to control other apps needs to be added in Privacy-Automation, which when running the script from terminal has the confirmation dialog, but when using the file watcher it exits with: ... error=13, Permission denied. Any suggestions?
Please sign in to leave a comment.
I suppose you've tried to add PhpStorm to this list, and it didn't help?
Unfortunately you cannot manually add apps to this specific list. I guess it works only by showing you the dialog "x app wants to access ..." which in my case it doesnt.
We've had this which became this. Which exact PhpStorm version are you using?
If it's 2020.1, then the problem is worth creating a new request on our tracker: https://youtrack.jetbrains.com/newIssue?project=WI