Run a Flow from the Command Line
In production mode, you will use a command line request to run the flow. It's as easy as clicking the Run button.
-
Now that there is a Flow.tcl file in hand that can be
given to vovbuild to create a flow as needed, remove the current flow and
register it again. Remove the dependent files too, leaving the primary file
aa.
% vovforget -elements System:nodes message: Forgotten 10 nodes % rm bb cc dd1 dd2 % vovbuild ....
The GUI Console will have the familiar look to it as seen earlier. Note that there may be slight variation in the placement of the nodes in the display, which is expected. - Enlarge the display and select the menu View > Fit or use the keyboard shortcut f to cause the placement of nodes to fit better within the Set Viewer.
- Resize the display smaller, which will keep the same layout but reduce the size of the nodes.
-
Use the command line to request that FlowTracer run the
jobs, taking into account the dependencies of the graph, just as it does when
the run request is done by clicking the Run button. The program
vsr is the command that requests FlowTracer to run the flow.
% vsr .... localhost <-- vw cp aa bb localhost <-- vw cp bb cc localhost <-- vw cp cc dd localhost <-- vw cp cc ee
The resulting graph in the GUI Console will show various changes in node colors as the dependent programs are run in the right order, and dependent files are created. In the end, the graph will show all green nodes, indicating a successful run.