with-process-reader ( desc encoding quot -- )
Operating system processes > Launching processes

Prev:<process-stream> ( desc encoding -- stream )
Next:with-process-writer ( desc encoding quot -- )


Vocabulary
io.launcher

Inputs and outputs
desca launch descriptor
encodingan encoding descriptor
quota quotation


Word description
Launches a process and redirects its output via a pipe. The quotation is called with input-stream rebound to this pipe.

Examples
USING: io.launcher prettyprint ; "ls -dl /etc" utf8 [ contents ] with-process-reader .
"drwxr-xr-x 213 root root 12288 mar 11 18:52 /etc\n"


Definition