K1000: Best way to open a url via script on Mac
As the title suggests, I'm trying to open a URL on demand via KACE. I've tried creating an online shell script with:
It works fine when I run it locally on the Mac - but not via the KACE Script I created. I get the error:
LSOpenURLsWithRole() failed for the application...
I also tried moving the command into a separate script, adding it as a dependency and calling it via the KACE Script - but I get the same error.
Does anyone know how to achieve this?