Reputation: 47
I have a little question. Maybe it's not difficult but I don't find the answer.
I find a way to launch from Maya substance painter with python command.
My problem is that Maya stays freeze until I leave substance painter.
I would like to use Maya while substance painter is open.
the code:
subprocess.call(['C:/Program Files/Allegorithmic/Substance Painter/substance painter.exe' ,'--mesh' , 'c:/temp/exported.fbx'])
Thank in advance for your help.^^
Upvotes: 1
Views: 146
Reputation: 1978
subprocess.call()
waits for the completion of the subprocess. You should try subprocess.Popen()
.
Upvotes: 1