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