]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/io/launcher/launcher-docs.factor
io.launcher-docs: fix example code to match its description
[factor.git] / 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