;;; -*- Lisp -*-
(defsystem :inferior-shell
- :defsystem-depends-on (:asdf-condition-control)
+ :defsystem-depends-on (:asdf)
:depends-on (:asdf :xcvb-utils :fare-quasiquote-extras :fare-mop
#+sbcl :sb-posix)
:description "spawn local or remote processes and shell pipes"
(check-small-fd fd)
(format s "~D" fd))
(format s "~A " symbol)
- (xcvb-driver:escape-command (list pathname) s))))
+ (escape-command (list pathname) s))))
(defmethod print-process-spec ((r fd-redirection) &optional s)
(with-output-stream (s)
(loop :for (arg . rest) :on args :do
(p arg) (when rest (flush-argument c))))
(`(quote ,@args) ;; quote
- (e (xcvb-driver:escape-command
+ (e (escape-command
(parse-command-spec-tokens args))))
(`(,(type simple-command-line-token) ,@_) ;; recurse
(map () #'p x))
(defmethod print-process-spec ((spec command-spec) &optional s)
(with-slots (arguments redirections) spec
(with-output-stream (s)
- (xcvb-driver:escape-command arguments s)
+ (escape-command arguments s)
(when redirections
(loop :for r :in redirections :do
(princ " " s) (print-process-spec r s))))))
(print-process-sequence-joined spec "; " "true" s " &"))
(defmethod print-process-spec ((spec string) &optional s)
- (xcvb-driver::output-string spec s))
+ (output-string spec s))
(defmethod print-process-spec ((spec cons) &optional s)
(print-process-spec (parse-process-spec spec) s))