History

make-process: fix the docstring

Sigrid Solveig Haflínudóttir committed 2 months ago

Commit 891aea81 parent b8ebb322 files · +2 −2Browse files

Unified · Split

2 files
  1. boot/sl.boot +1 −1
  2. src/docs/process.sl +1 −1
boot/sl.boot+1−1
@@ -281,7 +281,7 @@ group process) "External processes." read-all "Return a list of terms read from · 280 unmodified lines
281281 (:doc-group . syntax) (:doc-see . and)
282282 (:doc-see . not)) rune-lower-case? ((:doc-example . "(rune-lower-case? #\\dž)\n; ↳ T")
283283 (:doc-example . "(rune-lower-case? #\\Dž)\n; ↳ NIL") (:doc-group . string) (:doc-see . rune-downcase)
284−(:doc-see . rune-upper-case?) (:doc-see . rune-title-case?)) make-process ((:doc-example . "; run ls on /home and make its output available for reading\n; redirect any error output to be visible alongside the REPL\n(def p (make-process \"ls\" '(\"ls\" \"/home\") :output :stream :error T))\n; ↳ #<process>\n(def s (io-read-all (process-output p))) ; read the output as a string")
284+(:doc-see . rune-upper-case?) (:doc-see . rune-title-case?)) make-process ((:doc-example . "; run ls on /home and make its output available for reading\n; redirect any error output to be visible alongside the REPL\n(def p (make-process \"ls\" '(\"ls\" \"/home\") :out :io :err T))\n; ↳ #<process>\n(def s (io-read-all (process-output p))) ; read the output as a string")
285285 (:doc-group . process)
286286 (:doc-see . find-program)
287287 (:doc-see . process-close)
src/docs/process.sl+1−1
@@ -29,7 +29,7 @@ · 28 unmodified lines
2929 :doc-example
3030 «; run ls on /home and make its output available for reading
3131 ; 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))
3333 ; ↳ #<process>
3434 (def s (io-read-all (process-output p))) ; read the output as a string»
3535 :doc-group process

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t