temp-file-channel

[procedure] temp-file-channel

Scsh: Returns two values, an input port and an output port, which can be used for two processes to communicate. Like pipe, anything written to the output port can be read from the output port. But this procedure uses a temporary file to do so (the file is immediately unliked after created, so it isn't visible from outside). Thus (1) the writer won't block no matter how the unread data gets larger, and (2) the reader won't block if there's not enough data, but actually sees EOF.

See also: pipe.