diff options
Diffstat (limited to 'src/connection.lisp')
-rw-r--r-- | src/connection.lisp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/connection.lisp b/src/connection.lisp index 0e80fff..8cd3a00 100644 --- a/src/connection.lisp +++ b/src/connection.lisp @@ -601,6 +601,9 @@ specification of POSIX ls(1))." (merge-pathnames path (merge-pathnames "consfigurator/" (get-connattr :XDG-CACHE-HOME)))) +(defun remote-executable-find (executable) + (zerop (mrun :for-exit "command" "-v" executable))) + (defun readfile (path) (connection-readfile *connection* |