Question about Execute Shell Script and losing focus

Consider the following:

This tells BitBar to refresh itself. BitBar then steals the focus.

So I found about another option:

open -g bitbar://refreshPlugin?name=BitBarTimer.30s.applescript

If I run this from Terminal, BitBar does NOT steal the focus. However, if I run

BitBar does steal the focus, or maybe executing the shell script does? (Doubtful)

My question is, what should I do to get it to work from KM like it does from Terminal?


Well, now it might be working. Not sure what’s different. Gotta leave for a while now, but I’ll report back when I’m back and I spend a little more time on this.

Yep, it works now. I was just an idiot. As usual…