subprocess.Popen(["start.bat"]) | |
with open("reload_flag.txt", "w") as f: | |
f.write("reload") | |
os.kill(os.getpid(), signal.SIGTERM) |
subprocess.Popen(["start.bat"]) | |
with open("reload_flag.txt", "w") as f: | |
f.write("reload") | |
os.kill(os.getpid(), signal.SIGTERM) |