You can run code when the python interpreter exits with the 'atexit' module:
https://docs.python.org/2/library/atexit.html On 23/04/15 17:27, Fredrik Averpil wrote:
Does anyone know if it is possible to tell Nuke to execute a function when it exits? Regards, Fredrik _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
-- ben dickson 2D TD | [email protected] rising sun pictures | www.rsp.com.au _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
