Ubuntu 16.04
Maya 2018
Tractor 2.2
Python 2.7
Hi,
I have been pulling my hair out for a couple days now trying to figure out how to launch maya from a python script with subprocessing. I need to spawn a new terminal and run a shotgun toolkit executable to launch maya with a specific set of context. When i do run the command, Maya crashes with a error 255 and i am not sure why. I can launch maya just fine directly from the commandline and i can run from commandline the tank maya-2018 command and that works as well. But when i try to run the exact same command through a subprocess maya errors out with a stack trace: strlen error. The same error occurs on pixar tractor renderfarm when try to spool from a script as well. The error doesnt happen running the spool from within maya but from my script. Any ideas on whats happening and how i can fix it? Thanks
Ubuntu 16.04
Maya 2018
Tractor 2.2
Python 2.7
Hi,
I have been pulling my hair out for a couple days now trying to figure out how to launch maya from a python script with subprocessing. I need to spawn a new terminal and run a shotgun toolkit executable to launch maya with a specific set of context. When i do run the command, Maya crashes with a error 255 and i am not sure why. I can launch maya just fine directly from the commandline and i can run from commandline the tank maya-2018 command and that works as well. But when i try to run the exact same command through a subprocess maya errors out with a stack trace: strlen error. The same error occurs on pixar tractor renderfarm when try to spool from a script as well. The error doesnt happen running the spool from within maya but from my script. Any ideas on whats happening and how i can fix it? Thanks
Can't find what you're looking for? Ask the community or share your knowledge.