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
281(:doc-group . syntax) (:doc-see . and)281(:doc-group . syntax) (:doc-see . and)
282(:doc-see . not)) rune-lower-case? ((:doc-example . "(rune-lower-case? #\\dž)\n; ↳ T")282(:doc-see . not)) rune-lower-case? ((:doc-example . "(rune-lower-case? #\\dž)\n; ↳ T")
283(:doc-example . "(rune-lower-case? #\\Dž)\n; ↳ NIL") (:doc-group . string) (:doc-see . rune-downcase)283(: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")
285(:doc-group . process)285(:doc-group . process)
286(:doc-see . find-program)286(:doc-see . find-program)
287(:doc-see . process-close)287(:doc-see . process-close)
src/docs/process.sl+1−1
@@ -29,7 +29,7 @@ · 28 unmodified lines
29 :doc-example29 :doc-example
30 «; run ls on /home and make its output available for reading30 «; run ls on /home and make its output available for reading
31 ; redirect any error output to be visible alongside the REPL31 ; 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 ; ↳ #<process>33 ; ↳ #<process>
34 (def s (io-read-all (process-output p))) ; read the output as a string»34 (def s (io-read-all (process-output p))) ; read the output as a string»
35 :doc-group process35 :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