Does anyone know how to dump out a frozen Maya? I am running Maya on Windows 7
I use to be able to do it with Lynux in a command line.
Does anyone know how to dump out a frozen Maya? I am running Maya on Windows 7
I use to be able to do it with Lynux in a command line.
You mean the “Task Manager”?
ctrl+alt+del?
Does anyone really want to see ‘that’ screen? Ctrl+shift+esc for me 
I have a handy kill_maya.bat file I just dbl-click when Maya is behaving badly.
Add this bit in the file.
taskkill /IM maya.exe /F
Zoharl,
I like your way of going about this but I’m not sure of which script(s) to install.
Could you give us all a step by step and what to expect when Maya does crash?
Thanks.
I’ll reiterate what the post says.
Download these two files, and put them in some arbitrary directory
http://svn.code.sf.net/p/mymayaplugins/code-0/trunk/standalone-scripts/ensure_maya_is_running.py
http://svn.code.sf.net/p/mymayaplugins/code-0/trunk/standalone-scripts/ensure_maya_is_running.png
This is a standalone python script, which you can run with any Python 2.7 x64 interpreter.
Edit the script.
First, you’ll note the comment: “Change the extension to .pyw to suppress console window.”
Second, edit the variables ‘app_find’ and ‘cmd’, so they would point to the correct location of your maya executable, and the way you’d like to run it (with your special command line switches).
Third, comment the following line:
shutil.copy('/prj/plug-ins/output.txt', '/prj/plug-ins/output2.txt')
You probably don’t need it (or otherwise change the paths).
Sorry about these dirty tweaks, it’s my own private script, which wasn’t meant for mass production.
When you run the script, it would look for a maya.exe process. If it finds one, it would monitor it, otherwise it would open a new one. Whenever maya.exe crashes, it would start a new process. Also, the script creates a small window with a kill switch.
That’s all. If you know python, the script should be quite straight forward to understand.