subprocess.Popen load error

   1723   0   0
User Avatar
Member
1 posts
Joined: Nov. 2016
Offline
Hi there,

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

Attachments:
Houdini_Load_Error_01.PNG (11.2 KB)

  • Quick Links