pyqt5, cmd, console
-
wrote on 8 Mar 2021, 18:38 last edited by
I want to open Minecraft server through PYQT.
The GUI is implemented, but I don't know how to open CMD in the GUI to run Java. -
Hi and welcome to devnet,
Either use QProcess or the Python subprocess module.
-
wrote on 9 Mar 2021, 06:06 last edited by
Hello,
you can use moduleos
to run cmd in python
for example:import os os.system("echo hello")
-
wrote on 16 Oct 2024, 01:45 last edited by GinaBishopThis post is deleted!
-
This post is deleted!
wrote on 16 Oct 2024, 08:12 last edited by@GinaBishop
Same answers as above. Did you try @SGaist's suggestions?