]> gitweb.factorcode.org Git - factor.git/commitdiff
io.launcher-docs: fix example code to match its description
authorAlexander Ilin <alex.ilin@protonmail.com>
Wed, 30 Dec 2020 17:18:58 +0000 (18:18 +0100)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 3 Jan 2022 20:24:55 +0000 (12:24 -0800)
basis/io/launcher/launcher-docs.factor

index d8b64ef4f98aa5f29007bc1b59b784481bf6b34a..adc9dc15cbde3f8254aaaf50760845c277f50196 100644 (file)
@@ -300,7 +300,7 @@ ARTICLE: "io.launcher.launch" "Launching processes"
 ARTICLE: "io.launcher.examples" "Launcher examples"
 "Starting a command and waiting for it to finish:"
 { $code
-    "\"ls /etc\" run-process"
+    "\"ls /etc\" run-process wait-for-process"
 }
 "Starting a program in the background:"
 { $code