Closed manhntm3 closed 4 years ago
The prepare
step happens in the main thread of the Slicer process, so yes, this will freeze the application. You need to put code like that in your ProcessScript
, which runs in a different OS process from the main application.
For example:
If I put a time.sleep(5) in a processing input output function like this:
When it performs the test, the GUI is frozen and inaccessible. Is there any way to change GUI when waiting for processing in background ?