diff --git a/test/TestCmd.py b/test/TestCmd.py index 7ee1706a2..b2138e700 100644 --- a/test/TestCmd.py +++ b/test/TestCmd.py @@ -407,7 +407,7 @@ class TestCmd: try: p = popen2.Popen3(cmd, 1) except AttributeError: - (tochild, fromchild, childerr) = os.popen3(cmd) + (tochild, fromchild, childerr) = os.popen3(join(cmd, " ")) if stdin: if type(stdin) is ListType: for line in stdin: diff --git a/v2/test/TestCmd.py b/v2/test/TestCmd.py index 7ee1706a2..b2138e700 100644 --- a/v2/test/TestCmd.py +++ b/v2/test/TestCmd.py @@ -407,7 +407,7 @@ class TestCmd: try: p = popen2.Popen3(cmd, 1) except AttributeError: - (tochild, fromchild, childerr) = os.popen3(cmd) + (tochild, fromchild, childerr) = os.popen3(join(cmd, " ")) if stdin: if type(stdin) is ListType: for line in stdin: