From 9534840248f3edf628f9913e4de86000df04112c Mon Sep 17 00:00:00 2001 From: crouzet Date: Fri, 27 Apr 2018 12:18:21 +0200 Subject: [PATCH] =?utf8?q?remont=C3=A9e=20du=20status=20d'erreur=20de=20ru?= =?utf8?q?nSalome,=20pour=20prise=20en=20compte=20notamment=20pour=20salom?= =?utf8?q?e=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/fileEnviron.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/fileEnviron.py b/src/fileEnviron.py index e48cb82..888e94d 100644 --- a/src/fileEnviron.py +++ b/src/fileEnviron.py @@ -825,11 +825,8 @@ def main(args): return # Start SALOME, parsing command line arguments - context.runSalome(args) - #print 'Thank you for using SALOME!' - - # Logger level info - context.getLogger().setLevel(20) + out, err, status = context.runSalome(args) + sys.exit(status) except SalomeContextException, e: import logging -- 2.39.2