We already have some chapters prepared for our game to teach about pipes | and redirection< / >.
This can be implemented in a generic way in the .run() system method.
The command interface is already designed in a way to allow streaming of input and output.