I have a PySide application. I want to create a widget in which I will display another application (for example an SFML/Irrlicht/Ogre/whatever game, it will be standalone .exe not python script), and the widget will act like a main window for that process. Is this possible?
I don’t need any communication with that app, I will do it through sockets.
By far the easiest approach is just use python’s os.spawn, os.system or the subprocess module to start the second process. It will start in its own window that is separate from your application.’
If you really want to embed the subprocess inside your main window, there are a couple of options.
See answers to this question: Subprocess as QT widget