/ Published in: Python
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import nuke, subprocess f = nuke.filename( nuke.selectedNode(), nuke.REPLACE ) rvls = 'Z:/SYNC/RV/3.8.7/win/x64/bin/rvls.exe' cmd = '%s -x %s' % ( rvls, f ) info = subprocess.Popen( cmd,stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE ) print info.communicate()