]> SALOME platform Git repositories - modules/yacs.git/blobdiff - bin/salomeContext.py
Salome HOME
simplify test process call
[modules/yacs.git] / bin / salomeContext.py
index 00ded0acfdc8db4204a5a33f3022f22742a5a35a..2bed9040420850b03b6122bada1bef81d7837802 100644 (file)
@@ -143,8 +143,8 @@ class SalomeContext:
     absoluteAppliPath = os.getenv('ABSOLUTE_APPLI_PATH','')
     env_copy = os.environ.copy()
     proc = subprocess.Popen(['python', os.path.join(absoluteAppliPath,"bin","salome","salomeContext.py"), pickle.dumps(self), pickle.dumps(args)], shell=False, close_fds=True, env=env_copy)
-    msg = proc.communicate()
-    return msg, proc.returncode
+    out, err = proc.communicate()
+    return out, err, proc.returncode
   #
 
   """Append value to PATH environment variable"""