]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
salome exits with return code
authorGilles DAVID <gilles-g.david@edf.fr>
Wed, 4 Oct 2017 13:25:12 +0000 (15:25 +0200)
committerGilles DAVID <gilles-g.david@edf.fr>
Wed, 4 Oct 2017 13:25:12 +0000 (15:25 +0200)
bin/appliskel/salome

index a57c5d701419c32a089d681a60ef3e45f24c59cf..3bd95d620358848b8f3421dd74db4fe8e579cb42 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:])