Shell widget often shows its label instead of its result

I have a shell widget on the touchbar that shows me the date in the Jalali calendar.

It's the rightmost, red widget. As you see, it is now just showing its label and not the result of the shell script:

Its settings:

Device information:

  • Type of Mac: MacBook Pro 2016
  • macOS version: 10.15
  • BetterTouchTool version: (please post the exact version - not just "the latest one") 3.392


I also tried adding a refresh_widget action to a button that changes my input language, using this code (I also tried the Applescript version):

(async ()=> {

callBTT('refresh_widget', {uuid: 'some id'});



But it did not refresh the widget at all.