diff --git a/test/test.py b/test/test.py index cc053f2..454afa4 100755 --- a/test/test.py +++ b/test/test.py @@ -66,8 +66,8 @@ def run_test(protomol_path, conf_file, pwd, parallel): cmd.append(protomol_path) cmd.append(conf_file) - p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) - (stdout, stderr) = p.communicate() + p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + p.communicate() if p.returncode > 0: s = 'Not able to execute Protomol!\n' s += 'cmd: ' + str(cmd) + '\n'