Author Topic: Plug-in onExportFinished blocking?  (Read 374 times)

Hello! I pulled in the plug-in skeleton, and am doing a bit of post-processing in the onExportFinished callback using the subprocess module. I'd like to show regular progress, ideally with an AlgProgressBar.

But, it seems like the callback itself is blocking -- even if I just do simple alg.log calls, they don't show up until the entire function is finished.

Is this expected? Is there a way I can get the main window and/or one of my plug-in windows to update while processing? I'm not sure how threading is being handled under the hood.

Thanks!