One thing lacking in PostScript is good foreign function interface. There
is %pipe% (specific to Ghostscript, but I had made a list of my own ideas
of a new version of PostScript, and this is one of them), but the pipe is only one direction of data at a time; it is not two way pipe.
Much of the functionality of a two-way pipe can be implemented
on any OS that provides named pipes. Use an anonymous %pipe%
for the output from PostScript into the input of the external pipeline,
and write the output of the pipeline into a named pipe that is
consumed by open+read.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)