invite system

This commit is contained in:
2024-09-03 04:43:13 +02:00
parent 541e681162
commit 61e98684b6
6 changed files with 161 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
from subprocess import run
from threading import Thread
t1 = Thread(target=run, args=(['./.venv/bin/python3', 'invite_sys.py'],))
t2 = Thread(target=run, args=(['./.venv/bin/python3', 'main.py'],))
t1.daemon = True
t2.daemon = True
t1.start()
t2.start()
while 1:
if input() == 'q':
t1.join(0)
t2.join(0)