Author Topic: PLUGIN PATH not working when setting up using python  (Read 377 times)

Hi,
I'm trying to launch Substance painter in my studio using a python code.

Code: [Select]
cmdlist = [sbs_exe_path, "--mesh", mesh_path]
cmd = subprocess.Popen(cmdlist,stdout=subprocess.PIPE,stderr=subprocess.PIPE,env={"SUBSTANCE_PAINTER_PLUGINS_PATH": "path/to/plugin/folder"})

When I try the above code, the splash screen shows up and it crashes without any error message. This works when I remove the env option.
Can somebody help me fix this please??
Thanks