what script B contains is:
subprocess.call('path to the hython command'+' '+'path to script B'+' '+'path to hip file')
so the basic idea is to use hython to open a scene, process it, and get some info back(in my case,“renders”).
import sys args = sys.argv print args try: hou.hipFile.load( args ) except hou.LoadWarning, e: print e renders = hou.node('/out').allSubChildren()
so how to get data back from subprocess.call or are there other ways to do so?
Any ideas would be appreciated !