Posted By

throb on 08/20/10


Tagged

python rvls subprocess


Versions (?)

run rvls from a python subprocess


 / Published in: Python
 

  1. import nuke, subprocess
  2. f = nuke.filename( nuke.selectedNode(), nuke.REPLACE )
  3. rvls = 'Z:/SYNC/RV/3.8.7/win/x64/bin/rvls.exe'
  4. cmd = '%s -x %s' % ( rvls, f )
  5. info = subprocess.Popen( cmd,stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE )
  6. print info.communicate()

Report this snippet  

You need to login to post a comment.