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:
@ -385,7 +385,7 @@ 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,cwd = "/myapps/")
|
proc = subprocess.Popen(cmnd,stdin=subprocess.PIPE,stdout=subprocess.PIPE,stderr=subprocess.PIPE,cwd = "/myapps/",shell=True)
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
while True:
|
while True:
|
||||||
outs, errs = proc.communicate()
|
outs, errs = proc.communicate()
|
||||||
|
Reference in New Issue
Block a user