From: Anthony Geay Date: Mon, 21 Feb 2022 08:36:26 +0000 (+0100) Subject: End of Fix foreground into runSalome.py X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=39dfb7ccbe03288690da1f70c80a99089a1f522a;p=modules%2Fkernel.git End of Fix foreground into runSalome.py --- diff --git a/bin/runSalome.py b/bin/runSalome.py index ff6fff387..20f3da436 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -218,6 +218,11 @@ def foreGround(args, ior_fakens_filename): except Exception: pass if ( session is not None ) and (not CORBA.is_nil(session)): + try: + os.remove(ior_fakens_filename) + logger.debug("File {} has been removed".format(ior_fakens_filename)) + except: + pass logger.debug("Session in child process has been found ! yeah ! {}".format(str(session))) break sleep(dt)