Commits (2)
......@@ -131,7 +131,7 @@ that exports the following macros and functions:
but strips any line-ending at the end of the results,
just like a shell's ``cmd`` or `$(cmd)` would, and
more options are accepted and you can define your own, as per
asdf-driver's slurp-input-stream protocol.
uiop's slurp-input-stream protocol.
On Windows, `RUN` will not succeed for pipes, only for simple commands.
On Unix, simple commands on localhost are executed directly, but
remote commands and pipes are executed by spawning a shell.
......@@ -171,7 +171,7 @@ that exports the following macros and functions:
a variable to choose between backends. Currently, only supported are
`:AUTO` (the default, using asdf-driver:run-program, and
`:AUTO` (the default, using uiop:run-program, and
spawning a shell unless it's a simple process), and
`:SBCL` (only available on `#+(and sbcl sb-thread unix)`,
doesn't need a shell but has some limitations such as
......@@ -2,7 +2,7 @@
#-asdf3 (error "inferior-shell requires ASDF 3.0.3 or later")
(defsystem "inferior-shell"
:version ""
:version ""
:description "spawn local or remote processes and shell pipes"
:author "Francois-Rene Rideau"
:license "MIT"
......@@ -18,9 +18,10 @@
(:file "macros" :depends-on ("pkgdcl"))
(:file "host" :depends-on ("pkgdcl"))
(:file "run" :depends-on ("process-spec" "macros"))
(:file "run-generic" :depends-on ("process-spec" "macros"))
(:file "run-sbcl" :depends-on ("process-spec" "macros" "run-generic")
:if-feature (:and :sbcl :sb-thread :unix)))
;; Disable these experiments for now:
#+(or) (:file "run-generic" :depends-on ("process-spec" "macros"))
#+(or) (:file "run-sbcl" :depends-on ("process-spec" "macros" "run-generic")
:if-feature (:and :sbcl :sb-thread :unix)))
:in-order-to ((test-op (load-op "inferior-shell/test")))
:perform (test-op (o s) ;; symbol-call will only work if loaded with ASDF3
(symbol-call :inferior-shell-test :test-suite)))