]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
salome exits with return code V8_4_BR V8_4_0 V8_4_0rc1 V8_4_0rc2 V8_4_0rc3 V8_4_0rc4
authorGilles DAVID <gilles-g.david@edf.fr>
Wed, 4 Oct 2017 13:25:12 +0000 (15:25 +0200)
committervsr <vsr@opencascade.com>
Wed, 11 Oct 2017 12:33:23 +0000 (15:33 +0300)
bin/appliskel/salome

index d44507d2c29f6d535090710a1740e3cfd4609def..37430157e53cbb61bdf70a6172c84e08fe3eb741 100755 (executable)
@@ -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:])