That works. Thanks ! On Wednesday, October 29, 2014 10:17:49 PM UTC+1, colas wrote: > > hi, > you can use at the end of your script > > cmds.file(new=True, force=True) > os._exit(0) > > greets, > Colas > > > 2014-10-29 11:21 GMT-04:00 Michał Frątczak <[email protected] > <javascript:>>: > >> Hello >> mayapy crashes when exiting. this is the script I run: >> >> import maya.standalone >> maya.standalone.initialize(name='python') >> from pymel.core import * # this line makes a crash on exit >> >> >> Any info on that? It's hard to use crashing mayapy in batch processing... >> >> thanks >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/e95a9edb-463c-425d-89ed-ffdc10b271a9%40googlegroups.com >> >> <https://groups.google.com/d/msgid/python_inside_maya/e95a9edb-463c-425d-89ed-ffdc10b271a9%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > >
-- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/a37035e5-d343-46a9-abba-48e0570045ba%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
