Aug
08
mayapy always crashes on exit
Posted in: MayaHi all
I am running scripts using mayapy.
I had to import the pymel.core module to initialise maya so I could call a certain MEL function that was otherwise unavailable.
My script runs fine but always crashes without fail on the exit() command
I have also tried sys.exit(0) and os._exit(0)
all of these commands crash instead of exiting.
is there a better method of exiting a script without returning a fault?
thanks
Post a Comment