Skip to content

Commit

Permalink
Fix typo and re-order a section in the external-process chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
xrme committed Sep 28, 2024
1 parent 5ced328 commit 24c2552
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions doc/manual/external-process.ccldoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,9 @@
;;; Let the shell expand wildcards.
? (run-program "sh" '("-c" "ls *.lisp") :output t)|)

(para "Naturally, tese last examples will only produce output if {CCL}'s
(para "Naturally, these last examples will only produce output if {CCL}'s
current directory contains {code .lisp} files."))

(defsection "Limitations and known bugs"
(para
"{CCL} and the external process may get confused about who owns which
streams when input, output, or error are specified as T and wait
is specified as NIL.")
(para
"External processes that need to talk to a terminal device may not
work properly; the environment (SLIME, ILISP) under which {CCL}
is run can affect this."))

(definition (:function run-program)
"run-program program args &key (wait t) pty sharing input if-input-does-not-exist output (if-output-exists :error) (error :output) (if-error-exists :error) status-hook external-format env (silently-ignore-catastrophic-failures *silently-ignore-catastrophic-failure-in-run-program*)"
"Invokes an external program as an OS subprocess
Expand Down Expand Up @@ -190,4 +180,13 @@
exit code or terminating signal if the first value is other
than {code :running}.")

(defsection "Limitations and known bugs"
(para
"{CCL} and the external process may get confused about who owns which
streams when input, output, or error are specified as T and wait
is specified as NIL.")
(para
"External processes that need to talk to a terminal device may not
work properly; the environment (SLIME, ILISP) under which {CCL}
is run can affect this."))
) ;chapter

0 comments on commit 24c2552

Please sign in to comment.