foreign-c-libraries/retropikzel/shell
retropikzel 5594b37d4e Improvements to named-pipes and shell libraries 2026-05-13 22:51:50 +03:00
..
LICENSE Improving testing 2025-11-28 09:14:13 +02:00
README.md Improving tests 2025-12-06 08:21:03 +02:00
VERSION Improvements to named-pipes and shell libraries 2026-05-13 22:51:50 +03:00
test.scm Update shell to use new (foreign c) and (retropikzel system). Make system now check that cmd is string. 2026-02-27 09:40:52 +02:00

README.md

Library to run shell commands and get their output

(shell cmd)

Run given cmd string and return output as string.

(shell->list cmd)

Run given cmd string and return output as list of lines.

(shell->sexp cmd)

Run given cmd string and return output as sexp using read.

(shell-exit-code)

Returns exit code of previous command that was run.