with-input-from-pipe

[procedure] with-input-from-pipe cmdline proc [mode]

[procedure] with-output-to-pipe cmdline proc [mode]

Chicken: see also open-input-pipe, open-output-pipe, call-with-input-pipe, call-with-output-pipe.

Some implementations allow to use "| cmdline" or "cmdline |" as the filename in with-input-from-file and with-output-to-file to achieve the same effects as these.

Gauche has with-input-from-process? and with-output-from-process? which do the same thing.