From 75bb67bad030a2fb764b285100d8235e863666e6 Mon Sep 17 00:00:00 2001 From: cordman Date: Thu, 19 Mar 2026 22:53:37 +0100 Subject: [PATCH] =?UTF-8?q?p=C5=99idal=20jsem=20startBoth.py,=20co=C5=BE?= =?UTF-8?q?=20ti=20dovoluje=20zapnout=20oba=20boty=20z=C3=A1rove=C5=88=20a?= =?UTF-8?q?=20bez=20pot=C3=AD=C5=BE=C3=AD=20o=20algo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- startBoth.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 startBoth.py diff --git a/startBoth.py b/startBoth.py new file mode 100644 index 0000000..4aae98a --- /dev/null +++ b/startBoth.py @@ -0,0 +1,11 @@ +import subprocess + +bots = ["main.py", "main-kord.py"] + +processes = [] +for bot in bots: + p = subprocess.Popen(["python", bot]) + processes.append(p) + +for p in processes: + p.wait() \ No newline at end of file