commit 6f91c7adbeec6c17d763a1dfbac380baf8436009
parent a904609b64f118c08ea9dd9f76fe1812f7cb0f9d
Author: Yuval Langer <yuval.langer@gmail.com>
Date: Fri, 7 Jul 2023 14:45:32 +0300
Add a note.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/kaka.farm/call-process-chatgpt.org b/kaka.farm/call-process-chatgpt.org
@@ -219,6 +219,9 @@ lisp
(kakafarm/call-process-with-string-as-input "cat" "cat says moo"))
#+end_src
+It had imagined a new form called
+src_elisp{with-input-from-string}. It does not work.
+
#+begin_quote
In this version, the with-output-to-string macro captures the output of the progn expression and returns it as a string. The standard-output stream is used as the output destination for the call-process-region or call-process functions, depending on whether an input string is provided.