A plugin can run arbitrary code (the only exception being it cant use Qt WebEngine), you can do IPC however you like. Use the python multiprocessing classes or a simple socket or stdin/stdout, or a file in the filesystem, whatever you are comfortable with.
|