Merge remote-tracking branch 'origin/master' into devel

This commit is contained in:
Muayyad Alsadi 2019-09-09 00:18:41 +03:00
commit 813dc8b149

View File

@ -585,10 +585,11 @@ class Podman:
return subprocess.check_output(cmd) return subprocess.check_output(cmd)
def run(self, podman_args, wait=True, sleep=1): def run(self, podman_args, wait=True, sleep=1):
print("podman " + " ".join(podman_args)) podman_args_str = [str(arg) for arg in podman_args]
print("podman " + " ".join(podman_args_str))
if self.dry_run: if self.dry_run:
return None return None
cmd = [self.podman_path]+podman_args cmd = [self.podman_path]+podman_args_str
# subprocess.Popen(args, bufsize = 0, executable = None, stdin = None, stdout = None, stderr = None, preexec_fn = None, close_fds = False, shell = False, cwd = None, env = None, universal_newlines = False, startupinfo = None, creationflags = 0) # subprocess.Popen(args, bufsize = 0, executable = None, stdin = None, stdout = None, stderr = None, preexec_fn = None, close_fds = False, shell = False, cwd = None, env = None, universal_newlines = False, startupinfo = None, creationflags = 0)
p = subprocess.Popen(cmd) p = subprocess.Popen(cmd)
if wait: if wait: