Python Bridge - Calling HV via subprocess.Popen

Debdatta_Sen
Altair Employee

I would like to use python subprocess module to invoke HV.
The code I use is very simple.
The code works if I use standalone python, but if I run it from within Compose, HW does not come up.
In the Task Manager one can see, that the HW Process starts but also dies immediately.
Here's the code that I use:
The shell shows the commands used in the directly in python.
I have also attached the Python file.
Have I missed anything?
0
Answers
-
After consulting with a colleague, I have come across the solution.
Unsetting both HW_ROOT and ALTAIR_HOME helps.
0