page1
Data flow for the capinout program
The following diagrams illustrate data flow within the capinout program resulting from the use of pipes on the command line. The diagrams illustrate flow for an example “t.py” target program. The capinout program redefines stdin and stdout of the target program to be two pipes: fds_in and fds_out. The capinout uses 4 other pipes. Data read from the fdm_in and fdm_out pipes is mirrored to timestamped files. The master_stdin and master_stdout pipes are stdin and stdout of the capinout program itself.
The final diagram illustrates the process structure and data flow when no pipes are present in the command line.