Create tortoise_restart_mod.txt
Browse files- tortoise_restart_mod.txt +4 -0
tortoise_restart_mod.txt
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
subprocess.Popen(["start.bat"])
|
2 |
+
with open("reload_flag.txt", "w") as f:
|
3 |
+
f.write("reload")
|
4 |
+
os.kill(os.getpid(), signal.SIGTERM)
|