edit back the timestamp and add kepadatan

This commit is contained in:
kicap
2025-07-17 03:37:06 +08:00
parent ec6f214d96
commit 94b62b36ba
4 changed files with 32 additions and 24 deletions

View File

@ -1,11 +1,15 @@
import subprocess
import os
# Jalankan app.py
p1 = subprocess.Popen(["python", "this.py"])
# Path to Python in the virtual environment
python_path = os.path.join("env", "bin", "python")
# Jalankan main.py
p2 = subprocess.Popen(["python", "main1.py"])
# Run this.py
p1 = subprocess.Popen([python_path, "ini_dia.py"])
# Tunggu keduanya selesai (opsional, biasanya biarkan berjalan)
# Run main1.py
p2 = subprocess.Popen([python_path, "main1.py"])
# Optional: wait for both to complete (remove if you want them to run independently)
p1.wait()
p2.wait()