A r t i c l e s

Note: This Wiki is
outdated, personal views
may have changed.
L505 A.I. bot is dead
long live THX 1138

M a i n P a g e

D i r e c t o r y

Powerful Piping

Piping is a powerful method of trapping an applications command line output. One example of why it is powerful is when it is used to make two applications talk to each other through a pipe. If you want to see everything that is happening on one computer, without using TTY or SSH, or TelNet, you can use piping (even through HTTP)). This comes useful in many situations such as an embedded command line window in a program which remote controls another computer.
In GnuLinux using freepascal you have access to the AssignStream function. Other functions are available to pipe output to files instead of a variable.
More complicated applications that want to do more than just trap command line output will have to send and recv through invisible sockets behind the scenes, interprocess communication, sendmessage, or some other system of communication across processes. It's not wise to use the command line as a complete messaging system in all cases.
Subject: command line piping, command line pipes, pipe to stdout, piping to stdout, trapping command output, capturing command line output, capture command line output.

Note: This Wiki is outdated, personal views may have changed.

This wiki contains info on life, health, humans, nature, programming, database, fads, paradigms, poems, principles, theories.

Articles may contain statements which some may find helpful and encouraging, or even discouraging.

Beware, I believe in the Grand Justice system.
_ _ _