Hello all,
I have a python script in Maya that saves out an FBX file from selection and I want it to also Popen an instace of Substance Painter using that very FBX.
Essentially I do this:
subprocess.Popen([r'path\to\painter\Substance Painter.exe', '--mesh', r'path\to\fbx\geo.fbx', path\to\project], shell = True, stderr=subprocess.STDOUT)
If I run it inside Maya, it will show only the splash image of Painter but it won't open it. However if I do exactly the same thing within Windows CMD it will just work fine.
I can imagine this might be a Maya issue and not a Painter issue, but nonetheless I wanted to ask it here as well as at Autodesk forums.
Do any of you know how can I get this working?
Thank you in advance!