William Denning
wdenning
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
My Gallery
Recent Forum Posts
subprocess.Popen load error Feb. 19, 2019, 10:02 a.m.
Hi there,
I am currently building a small application that launchs Houdini.
Currently it is launching Houdini using
subprocess.Popen()
Like this
However, although this does open Houdini with the file i have specidifed in the “Houdini170352_Default” variable, it opens Houdini with the error (please see the attached image)
Anyone got any ideas as to why this is happening?
Thanks so much,
Will
I am currently building a small application that launchs Houdini.
Currently it is launching Houdini using
subprocess.Popen()
Like this
Houdini170352_App = "C:\\Program Files\\Side Effects Software\\Houdini 17.0.352\\bin\\houdinifx.exe" Houdini170352_Default = 'C:/Users/FDUser/Documents/Python_Scripts/Test_App/LoadFiles/H_TestFile_01.hip' def H170352LaunchCommand(): Enviro = os.environ.copy() process = subprocess.Popen(Houdini170352_Default, bufsize=-1, executable=Houdini170352_App, stdout=subprocess.PIPE, stderr = subprocess.PIPE, env=Enviro, shell=True
However, although this does open Houdini with the file i have specidifed in the “Houdini170352_Default” variable, it opens Houdini with the error (please see the attached image)
Anyone got any ideas as to why this is happening?
Thanks so much,
Will