xsibatch -processing -script cache.py ?

On 05/12/2012 11:54 AM, Cristobal Infante wrote:
Hi guys,

I would like to make python script that will:

- call the command prompt.
- cache a given scene, without opening the softimage gui.

I know I can run: xsi -script cache.py, so that takes care of the events inside soft.

But how do I call the subprocess so it receives this commands? (xsi -script)

import subprocess
proc = subprocess.Popen ("C:/Program Files/Autodesk/Softimage 2013 SP1/Application/bin/SIShell.bat", shell=False )

# this just opens the command prompt

Any idea?

Cheers,
Cris



Reply via email to