I have some custom text editor with multitabs logic, created with Python3 and PyQt5.  I want to open txt-files in this editor with double click and I want to add new tab in my editor each time when I do double-click on file. I added batch, with calls 'python editor.py', when I click on txt. Thats OK, but instead of open new tab in current IDE it always start new python process and open new IDE. I want to make it work on Win10. How to make logic to add new tab to current editor? Probably I don't even need new python process, if my editor is already running.
Solved with qlocalsocket and qlocalserver!
Add txt file to custom PyQt editor with double click