Showing the changes to src/docs/process.sl (1 of 2 files). Show all
Unified · Split
| @@ -29,7 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | :doc-example |
| 30 | 30 | «; run ls on /home and make its output available for reading |
| 31 | 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 | 33 | ; ↳ #<process> |
| 34 | 34 | (def s (io-read-all (process-output p))) ; read the output as a string» |
| 35 | 35 | :doc-group process |