This section of code launches a series of programs (Sony Vegas render nodes for network rendering) but it only launches one at a time and waits for the previous to close before launching the next. When I was testing I hardcoded in 4 launch commands and got 4 running programs, but when I try to do it dynamically using this loop it doesn't work out.
5/18/2011 6:38:36 PM
5/18/2011 6:51:16 PM
^haha, I got all excited that it was answered already.These documentation notes are for our editors. They enjoy little things like that
5/18/2011 6:55:50 PM
whoa whoa, you got smilies all up in that thing. no wonder it doesnt work.also, what happens if you throw a start infront of proglaunch?
5/18/2011 10:22:50 PM
5/18/2011 10:29:07 PM
also, try swapping SET /A counter=%counter%+1to SET /A counter+=1
5/18/2011 11:28:03 PM
Dangit, I am not at work any more but I bet start will fix it. That's what I get looking at this stupid script for like 3 hours. I kept trying to use bash commands and breaking it....Will report back.
5/18/2011 11:52:26 PM
bah.... it appears start uses space as a delimiter. So I put it into it's own string and start on the string - and all I get is a blank command prompt [Edited on May 19, 2011 at 10:10 AM. Reason : nope... start sees quotes as a window title. Stupid thing...]
5/19/2011 10:09:45 AM
After a few hours this morning the only way I could get it to work is to dynamically create some batch files and launch each of those.If anyone cares, here's the working code:
5/19/2011 11:09:00 AM
Using the code button (#) should avoid random .
@ECHO OFFcls::Script to create Vegas 8.0 Render Nodes:lease open the firewall in advance!:done by program permissions or port 53704+(n-1) where n is number of nodes)::::What this script does::Creates a directory to hold config files::Creates the necessary number of config files (by parameter or # of processors)::Each config has it's own sequential port number::Spawns necessary number of nodes::Spawns task manager, reports back IP address::Waits for you to render::On close -> wipes out all render instances, wipes svr instances, ::wipes config files, wipes directory
5/19/2011 5:09:20 PM
^what?
5/19/2011 5:50:21 PM
use the italic tags [i][/i] to avoid random emoticons, like :P instead of
5/19/2011 11:20:12 PM
^that would be a colossal misappropriation of my free time.
5/20/2011 10:07:47 AM