I'm trying to run Maya via TeamCity and do some processing with it and then close it. I use command line program (RemoteMayaControl.exe) which sends Python code through port and Maya execute that code. This works fine until I need to load a file in Maya and Maya crashes for some reason. File itself loads up fine if I run my RemoteMayaControl application out side of TeamCity. So I'm guessing that crash is related to TeamCity's habbit to hide command line programs and for some reason Maya is confused about that. To test my theory I would like to not hide command line programs what TeamCity is running via build steps, is it possible to turn off "hide programs" feature?
Or if any of you guys have any other ideas about this, I would like to hear those.