Script Execution

The script function reads a script file that was written before by OpenCAGE and executes the contained commands. This is not yet implemented.

Motivation

Mechanics

While using OpenCAGE a script is written for every command (see the Section called Scripting Output). The command name itself plus any parameters specified are preserved. This script can be read later. The commands are identified and the parameters fed to each command.

The commands are read from the command file, deserialized and given to the Command pipeline. There they remain in a fifo until the "Execute command file" has left the execution pipe segment. Then all commands in the fifo are executed in the order they arrived.