Were you using iTerm2 when you got that error? - I recall getting pretty much the same error shortly after bootstrapping a new Mac on Mojave, and attempting to launch a dashboard from the command-line in iTerm2 ( error -600 in my case…). When a simple test with open http://github.com
threw exactly the same error, but then worked fine in the Terminal app, it was a pretty short trip to Security & Privacy --> Privacy --> adding iTerm2 to “Full Disk Access”, and resolution. Anyway, as mentioned by others in this thread, while it’s more pull than push, using the built-in Terminal app to curl the Github API, and scripts that perhaps leverage some combination of sudo -v
/sudo -n
, osascript -e
and establishing some gating with a few while loops conditioned onsleep 1;
, etc. seem like pretty good ideas