run rvls from a python subprocess


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.