`run :output :string/stripped` does not work
I have tried this command:
(inferior-shell:run "ls" :output :string/stripped)
It fails with:
Invalid UIOP/RUN-PROGRAM:SLURP-INPUT-STREAM destination :STRING/STRIPPED
I have checked the source code and the comment in run.lisp
gives this example: :OUTPUT '(:STRING :STRIPPED T)
.
This way it works:
(inferior-shell:run "ls" :output '(:string :stripped t))
Is this a bug? Or an outdated documentation?
By the way, this diff fixes two typos:
diff --git a/README.md b/README.md
index 6a7d271..06a0c75 100644
--- a/README.md
+++ b/README.md
@@ -148,15 +148,15 @@ that exports the following macros and functions:
* `RUN/SS CMD &KEY ON-ERROR TIME SHOW HOST`
- `RUN/S` is a shorthand for `RUN :OUTPUT :STRING/STRIPPED`,
- just like a shell's ``cmd`` or `$(cmd)` would do.
+ `RUN/SS` is a shorthand for `RUN :OUTPUT :STRING/STRIPPED`,
+ just like a shell's `cmd` or `$(cmd)` would do.
* `RUN/INTERACTIVE CMD &KEY ON-ERROR TIME SHOW HOST`
`RUN/INTERACTIVE` is a shorthand for `RUN` with `:INPUT` `:OUTPUT` `:ERROR-OUTPUT`
all bound to `:INTERACTIVE`, so you may run commands that interact with users,
- inheritting the stdin, stdout and stderr of the current process.
+ inheriting the stdin, stdout and stderr of the current process.
* `RUN/I CMD &KEY KEYS`