Consolidation java
-
It is necessary to write a violin that starts a separate flow programme and can interact with its salt. There's a minecraft server that runs through the console. I can start it with subprocess, but how to put the mosquito into the console, I never figured it out.
The main violin is a bot telegram that I want to exercise remote control. The secondary objective is to launch an annex in a separate flow so that the crypt itself does not stop, as a team can act at any time.
-
as always possible.
import subprocess proc = subprocess.Popen(['cmd','/c','dir'],stdout=subprocess.PIPE) while True: line = proc.stdout.readline() if not line: break print ("test: "+str(line.rstrip()))
You can rewrite. https://ru.stackoverflow.com/questions/1333759/%D0%A0%D0%B0%D0%B1%D0%BE%D1%82%D0%B0-%D1%81-exe-%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%BC-%D0%B2-qt-creator-c/1333816#1333816 C++Qt