SCons.exitfuncs

Package SCons :: Module exitfuncs |
[hide private]
[frames] | no frames]

# Module exitfuncs

source code

SCons.exitfuncs

Register functions which are executed when SCons exits for any reason.

Functions | [hide private]
_run_exitfuncs() run any registered exit functions | source code
register(func, *targs, **kargs) register a function to be executed upon normal program termination | source code

Variables | [hide private]
| __revision__ = ``'``src/engine/SCons/exitfuncs.py 2725 2008/03/31` `...``
| _exithandlers = ``[``]``
| x = `sys.exitfunc`

Function Details | [hide private]

### _run_exitfuncs() | source code
run any registered exit functions _exithandlers is traversed in reverse order so functions are executed last in, first out.

### register(func, *targs, **kargs) | source code
register a function to be executed upon normal program termination func - function to be called at exit targs - optional arguments to pass to func kargs - optional keyword arguments to pass to func

Variables Details | [hide private]

  ### __revision__ Value:
      'src/engine/SCons/exitfuncs.py 2725 2008/03/31 12:52:02 knight'