Oh, forgot to add you could do the frame easier with just -F 0-90x8

then you only have to change the first frame number for each cpu spawn.

-deke

On Wed, May 18, 2011 at 12:58, Deke Kincaid <[email protected]> wrote:
> I don't know applescript but Popen works just fine
>
> import subprocess
> subprocess.Popen('Applications/Nuke6.1v2/Nuke6.1v2.app/Contents/MacOS/Nuke6.1v2
> -ift -m 8 -F "8 16 24 32 40 48 56 64 72 80 88 96" -X Write1
> /path/to/test.nk', shell = True)
>
>
> -deke
>
> On Wed, May 18, 2011 at 12:17, Mathieu Jolicoeur <[email protected]> wrote:
>> First off, hello world! I am very happy to have stumbled on this mailing 
>> list!
>>
>> I am trying to modify my background render launcher to have parallel
>> processes with defined framerange. I am working in OS X and like to
>> launch my renders in the Terminal so I can monitor the progress.
>>
>> Right now I am using command:
>>
>>
>> os.system(" " "osascript -e 'tell app "Terminal" to do script
>> "/Applications/Nuke6.1v2/Nuke6.1v2.app/Contents/MacOS/Nuke6.1v2 -i -f
>> -t -m 8 -F 1-100x1 -X Write1 /path/to/test.nk" ' " " ")
>>
>>
>> The osascript command is simple Applescript to launch instance of
>> Terminal application. This works fine. My problem is that I am unable
>> to insert a specific set of frame numbers in the command, such as:
>>
>>
>> os.system(" " "osascript -e 'tell app "Terminal" to do script
>> "/Applications/Nuke6.1v2/Nuke6.1v2.app/Contents/MacOS/Nuke6.1v2 -i -f
>> -t -m 8 -F "8 16 24 32 40 48 56 64 72 80 88 96" -X Write1
>> /path/to/test.nk" ' " " ")
>>
>>
>> I tried with a couple different types of quoting syntax, but cannot
>> seem to find how to make it work. Can someone help me with the syntax?
>>
>>
>> Thanks,
>>
>> Mathieu Jolicoeur
>> _______________________________________________
>> Nuke-python mailing list
>> [email protected], http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>
>
_______________________________________________
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