RP_Search/misc/replit.py

6 lines
200 B
Python
Raw Normal View History

2024-11-06 10:01:28 +00:00
import subprocess
# A plague upon Replit and all who have built it
replit_cmd = "killall -q python3 > /dev/null 2>&1; pip install -r requirements.txt && ./run"
subprocess.run(replit_cmd, shell=True)