Hey Guys,
I have a python script and it will loop through bunch of maya files and do
some stuff. But some time maya get seg fault and my script will stop there.
I tried with signal and multiprocess. But both failed
def sig_handler(signum, frame):
pass
signal.signal(signal.SIGSEGV, sig_handler)
from multiprocessing import Process, Queue
p = Process(target=startCrawling, args=(args, options))
p.start()
p.join()
Both failed.
Any other method which can trap seg fault and continue with next ?
Thanks
--
--:: Kurian ::--
--
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/CANEMyhN3UQnJmc_mWYvQb%3D2B6d6LcNrCmqZ-AaY63DzmG8aSKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.