How to make pyside6 programs run only one program at a time to avoid duplicate opening
Unsolved
Qt for Python
-
How to start a pyside6 program and only run one program, and then start the first program on the second startup?
-
For C++ there is QtSingleApplication. You want something similar for Python/PySide. There are old posts at
- https://forum.qt.io/topic/5616/pyside-qtsingleapplication/2
- https://stackoverflow.com/questions/12712360/qtsingleapplication-for-pyside-or-pyqt
They probably still work nowadays, or at least show you the approach.