mirror of
https://gitlab.sectorq.eu/jaydee/omv_backup.git
synced 2025-07-01 23:58:33 +02:00
lala
This commit is contained in:
@ -384,8 +384,15 @@ if _BACKUP:
|
|||||||
|
|
||||||
# input("????")
|
# 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}"
|
cmnd = f"rm -rf {FULL_BACKUP_LATEST}"
|
||||||
|
|
||||||
print(cmnd)
|
print(cmnd)
|
||||||
|
Reference in New Issue
Block a user