From: Gilles DAVID Date: Wed, 4 Oct 2017 13:25:12 +0000 (+0200) Subject: salome exits with return code X-Git-Tag: V8_4_0rc1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f02550390bb42dcbc415204558d47191b56e7dcd;p=modules%2Fkernel.git salome exits with return code --- diff --git a/bin/appliskel/salome b/bin/appliskel/salome index d44507d2c..37430157e 100755 --- a/bin/appliskel/salome +++ b/bin/appliskel/salome @@ -23,7 +23,7 @@ def main(args): appliPath = os.path.realpath(os.path.dirname(os.path.abspath(__file__))) proc = subprocess.Popen([os.path.join(appliPath, '.salome_run')] + args, close_fds=True) out, err = proc.communicate() - return out, err, proc.returncode + sys.exit(proc.returncode) if __name__ == "__main__": main(sys.argv[1:])