From f02550390bb42dcbc415204558d47191b56e7dcd Mon Sep 17 00:00:00 2001 From: Gilles DAVID Date: Wed, 4 Oct 2017 15:25:12 +0200 Subject: [PATCH] salome exits with return code --- bin/appliskel/salome | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:]) -- 2.39.2