47
57
If a single string is based, it is split into words.
48
58
For commands that are not simple space-separated words, please
64
75
outd, errd = child.communicate()
66
77
actual_retcode = child.wait()
68
79
if retcode != actual_retcode:
69
80
raise CommandFailed("test failed: %r returned %d, expected %d"
70
81
% (cmd, actual_retcode, retcode))