]> gitweb.factorcode.org Git - factor.git/commitdiff
fix: add missing vocabulary in example
authorRudi Grinberg <me@rgrinberg.com>
Sat, 23 Oct 2021 05:33:43 +0000 (23:33 -0600)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 23 Oct 2021 16:07:23 +0000 (09:07 -0700)
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
ps-id: 43D3A81F-4D51-46DD-AE2B-B584996C192D

basis/io/launcher/launcher-docs.factor

index 24f0879dc8e31ce1e4afaefb134993c57e41dee4..65bf509e41026adf62ab0ef77a6d6cf67d0f52c2 100644 (file)
@@ -236,7 +236,7 @@ HELP: with-process-reader
 { $description "Launches a process and redirects its output via a pipe. The quotation is called with " { $link input-stream } " rebound to this pipe." }
 { $examples
   { $unchecked-example
-    "USING: io.launcher prettyprint ;"
+    "USING: io.launcher prettyprint io.encodings.utf8 ;"
     "\"ls -dl /etc\" utf8 [ contents ] with-process-reader ."
     "\"drwxr-xr-x 213 root root 12288 mar 11 18:52 /etc\\n\""
   }