HOw is the command being run, and what is the exact format is the
command being passed to it in?

If it's using the subprocess module, you need to put the "-dlut" and
"mLut.cube" as separate items in the list, like:

cmd = ['rv']
cmd.append(['-dlut'])
cmd.append(['myLut.cube'])
cmd.append(['/tmp/render.%04d.exr'])
subprocess.Popen(cmd)

If you do cmd.append('-dlut myLut.cube'), it's like doing:

rv '-dlut myLut.cube' '/tmp/render.%04d.exr'

On 18/02/12 04:00, Paul Raeburn wrote:
> I have been trying to use the rv flipbook plugin in the latest python
> guide but run into a bit of a problem. 
> I am trying to pass "-dlut myLut.cube" to it, depending on what is
> selected in the LUT menu in the funky new flipbook dialogue.
> 
> Problem is I keep getting "unrecognized arg: -dlut myLut.cube" errors.  
> Whats really strange about it is that if I join the args and paste them
> in the terminal it works fine, and it is picking up the lut path once rv
> is acttually open. 
> 
> I'm very confused...
> 
> anyone seen this?
> 
> 
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

-- 
ben dickson
2D TD | [email protected]
rising sun pictures | www.rsp.com.au
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to