From: Gilles DAVID Date: Wed, 4 Oct 2017 13:25:12 +0000 (+0200) Subject: salome exits with return code X-Git-Tag: V8_4_0rc4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=89439e4d1058c6c97f6693caff71a43e268cacfb;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:])