From ca76896ca0a4e69341ab462034fb59c780896311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Pant=C5=AF=C4=8Dek?= Date: Wed, 19 Apr 2023 20:18:34 +0200 Subject: [PATCH] Update utils documentation. --- doc/utils.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/utils.md b/doc/utils.md index 68e6ccf..0e16f7a 100644 --- a/doc/utils.md +++ b/doc/utils.md @@ -211,6 +211,14 @@ UTF-8 BOM, removes it. Returns a list of strings representing all the lines produced by running the command given. + (get-process-exit+output-lines cmd . args) + +* ```cmd``` - a string with the command +* ```args``` - list of arguments to pass to process + +Returns two values - an exit code and a list of strings representing +all the lines produced by running the command given. + (process-send/recv cmd args . lines) * ```cmd``` - a string with command @@ -515,3 +523,7 @@ Without this module compilation with ```current-milliseconds``` results in warnings on chicken scheme >=5.3 and compilation under chicken scheme <5.3 results in error with ```current-process-milliseconds```. + + (today/iso) + +Returns the current date as string in ISO YYYY-MM-DD format.