Shortcuts Operation not permitted
I wrote a Shortcut with a Run Shell Script action. It works fine when I invoke it from within the Shortcuts app, but when I invoke it from the menu bar, it gives me "Run Shell Script finished with an error" and "Operation not permitted". How do I fix this?
MacBook Pro 16″