ExitCallback

DIRAC.Core.Utilities.ExitCallback.execute(exitCode, frame)

Executes the callback list

DIRAC.Core.Utilities.ExitCallback.registerExitCallback(function)

Adds a new callback to the list

DIRAC.Core.Utilities.ExitCallback.registerSignals()

Registers signal handlers