diff --git a/omv_backup_v2.py b/omv_backup_v2.py index eaff559..26e70dd 100644 --- a/omv_backup_v2.py +++ b/omv_backup_v2.py @@ -388,7 +388,9 @@ if _BACKUP: proc = subprocess.Popen(cmnd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, - stderr=subprocess.PIPE) + stderr=subprocess.PIPE, + cwd = "/myapps/") + time.sleep(10) while True: outs, errs = proc.communicate() print(outs)