From f72d637402d1334b7808c21870d96914ba8af9ff 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 a57c5d701..3bd95d620 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