Showing the changes to src/docs (1 of 2 files). Show all
Unified · Split
| @@ -29,7 +29,7 @@ · 28 unmodified lines | |||
| 29 | :doc-example | 29 | :doc-example |
| 30 | «; run ls on /home and make its output available for reading | 30 | «; run ls on /home and make its output available for reading |
| 31 | ; redirect any error output to be visible alongside the REPL | 31 | ; redirect any error output to be visible alongside the REPL |
| 32 | (def p (make-process "ls" '("ls" "/home") :output :stream :error T)) | 32 | (def p (make-process "ls" '("ls" "/home") :out :io :err T)) |
| 33 | ; ↳ #<process> | 33 | ; ↳ #<process> |
| 34 | (def s (io-read-all (process-output p))) ; read the output as a string» | 34 | (def s (io-read-all (process-output p))) ; read the output as a string» |
| 35 | :doc-group process | 35 | :doc-group process |