I would like to restart Roon on my Mac daily, and have written a simple script to do so:
#!/bin/zsh
killall RoonServer
open -a /Applications/Roon.app/Contents/RoonServer.app
This works well for terminating Roon, and the “open” command works well by itself, but when I execute the above script, I get:
_LSOpenURLsWithCompletionHandler() failed for the application /Applications/Roon.app/Contents/RoonServer.app with error -600.
I granted Roon full disk access in hope that that would help, but it didn’t.
Any ideas?