Understand Maya exit codes

An exit code is a standard termination status.

In Maya, exit codes are included in a message that is generated when a crash occurs:
maya encountered a fatal error
 
Signal: 11 (Unknown Signal)
 
Result: /users/<username>/maya/projects/Test/scenes/Test1.ma
 
Fatal Error. Attempting to save in /usr/tmp/<username>.20120223.1655.ma
 
// Maya exited with status 139
We can use the following information to decipher exit codes:
Tip: You can contact Autodesk Support to report a reproducible crash.

When running Maya standalone on the Linux platform, if Maya exits with a 0 status when you try to end the Python process using kill -2 or kill -2 python-bin, you can set the environment variable MAYA_DEBUG_NO_SIGINT_HANDLING = 1 for Maya to exit with a non-zero status.

Related topics