IDEA-CR-61155: PY-31931 Importing matplotlib with PyQt5 backend causes Python Console to hang
IDEA-CR-61155: PY-31931 Importing matplotlib with PyQt5 backend causes Python Console to hang

Replace exec() with processEvents() to avoid freezes during command execution

GitOrigin-RevId: 76ecce9a878f0d167bfc74e3b74bbce0d289bc31
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community