Python Progress Meter doesn't show on Mac rhino version

Hi there,

I got a python running inside a grasshopper which takes a long time and I need a progress meter to see its progress.

When the python is running, all outputs of the python block don’t update until it is finished.

I got the code:

Rhino.UI.StatusBar.ShowProgressMeter(0, 100, "Updating", True, True)
   
for i in range(0,100):
    Rhino.UI.StatusBar.UpdateProgressMeter(i, True)
    ...do something...

  
Rhino.UI.StatusBar.HideProgressMeter()

the code works, but the progress bar doesn’t show up in the Mac rhino.
anything I need to do different for the Mac version?

Thank you