From 7786ca9bc25d92bd56b5f4bca02a8ddd9433bd42 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Fri, 4 Apr 2003 07:50:36 +0000 Subject: [PATCH] Pass string to 'popen3', since it does not like lists. [SVN r18179] --- test/TestCmd.py | 2 +- v2/test/TestCmd.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: