So I'm trying to run a python script inside Houdini by using hython.
I am writing pipeline tools using PyQt and I want to run a python script when the user clicks on a button that will create a HDA.
I run into a strange error when trying to use hython. It says “Can't open dophints.cmd”. The thing is that it works when I do it on the command line directly but it doesn't work when I execute it inside my script, either with os.system() or subprocess.Popen().
I think I found why I got the error, strangely it only happen inside PyCharm, when I run my python script with the .py file it works perfectly. So this should be an issue with PyCharm's way of dealing with command line stuff.
Did you ever figure out a fix? Receiving this error when launching hython, it doesn't seem to impact anything for now but worried its a sign of something larger being broken.