2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Pass string to 'popen3', since it does not like lists.

[SVN r18179]
This commit is contained in:
Vladimir Prus
2003-04-04 07:50:36 +00:00
parent 7a0cd86cfc
commit 7786ca9bc2
2 changed files with 2 additions and 2 deletions

View File

@@ -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:

View File

@@ -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: