Document process-send/recv.

This commit is contained in:
Dominik Pantůček 2023-04-10 20:51:09 +02:00
parent 8372cfdfb7
commit 04551f8877

View file

@ -158,6 +158,16 @@ UTF-8 BOM, removes it.
Returns a list of strings representing all the lines produced by Returns a list of strings representing all the lines produced by
running the command given. running the command given.
(process-send/recv cmd args . lines)
* ```cmd``` - a string with command
* ```args``` - list of arguments
* ```lines``` - lines to feed to stdin of the process
Executes given command ```cmd``` with given argument list ```args```
writing all ```lines``` to its standard input and then reads all the
process output.
### List ### List
(import util-list) (import util-list)