I saw on the Internet that I want to execute the rm command without explaining why, so I have never tried this method, because deleting files may cause other problems.
And my solution is simple
Refer to https://blog.csdn.net/m0_37452696/article/details/80982468 in the article's comments , " A fish in Huaguang " said: The problem of osascript timing laugh script
And I found that osascript appeared in
You only need to check the tick to open the activity detector. Not only the activity detector, I couldn't open it with phpstorm at the time, but it was fine later. 【for reference only】
Osascript may still appear in other places, but I found it here on my computer. Accessibility is access control, and it sounds like the same thing. It should have been checked by default. Maybe I don’t know when I unchecked it. Election (seems to be stuck with me so I cancelled it? I don’t remember it very much)
If you can solve it successfully because of this method, please give a thumbs up and let more people see it.