summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-07-23 21:05:10 -0400
committerBen Sima <ben@bsima.me>2022-07-23 21:05:10 -0400
commit19dd1eef9d279aa468d4e179abad375d7271dc2a (patch)
tree20f3e4bdd6a98b2a7fa61a46149b8ec8c8a483e8
parent725d6ab26e586659e04982b269694d2bc987fcd1 (diff)
Fix shell/exec
-rw-r--r--bs/shell.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/bs/shell.scm b/bs/shell.scm
index 8578f72..8dea64f 100644
--- a/bs/shell.scm
+++ b/bs/shell.scm
@@ -10,7 +10,7 @@
(define (exec cmd)
(let* ((port (popen/open-input-pipe cmd))
- (ret (read port)))
+ (ret (rdelim/read-string port)))
(popen/close-pipe port)
ret))