nuke.addOnScriptClose

nuke.addOnScriptClose(call, args=(), kwargs={}, nodeClass='Root')[source]

Add code to execute before a script is closed