This commit is contained in:
2025-01-10 23:48:24 +01:00
parent aa69800761
commit 9b9cc98a86

View File

@ -384,8 +384,15 @@ if _BACKUP:
# input("????")
status, output = subprocess.getstatusoutput(cmnd)
#status, output = subprocess.getstatusoutput(cmnd)
proc = subprocess.Popen(cmnd,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
while True:
outs, errs = proc.communicate()
print(outs)
time.sleep(10)
cmnd = f"rm -rf {FULL_BACKUP_LATEST}"
print(cmnd)