diff --git a/server_environment/system_info.py b/server_environment/system_info.py index fd590eafc..ecac7286f 100644 --- a/server_environment/system_info.py +++ b/server_environment/system_info.py @@ -30,7 +30,8 @@ from openerp.tools.config import config def _get_output(cmd): bindir = config['root_path'] - p = subprocess.Popen(cmd, shell=True, cwd=bindir, stdout=subprocess.PIPE) + p = subprocess.Popen(cmd, shell=True, cwd=bindir, stdout=subprocess.PIPE, + stderr=subprocess.STDOUT) return p.communicate()[0].rstrip()