diff options
Diffstat (limited to 'utils/functest_utils.py')
-rw-r--r-- | utils/functest_utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/functest_utils.py b/utils/functest_utils.py index 4d5004cbe..b916ab129 100644 --- a/utils/functest_utils.py +++ b/utils/functest_utils.py @@ -309,7 +309,8 @@ def execute_command(cmd, logger=None, logger.debug(msg_exec) else: print(msg_exec) - p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE) + p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, + stderr=subprocess.STDOUT) for line in iter(p.stdout.readline, b''): line = line.replace('\n', '') if logger: |