Hi Fredrik,

You can also use the onScriptClose callback maybe ?

http://docs.thefoundry.co.uk/nuke/90/pythondevguide/callbacks.html#onscriptclose


Cheers,
J

2015-04-23 9:05 GMT+01:00 Ben Dickson <[email protected]>:

> 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
>
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to