Function: tramp-remote-inotifywait-with-P
tramp-remote-inotifywait-with-P is a byte-compiled function defined in
tramp-sh.el.gz.
Signature
(tramp-remote-inotifywait-with-P VEC)
Documentation
Check, whether remote inotifywait option "-P" is applicable.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defun tramp-remote-inotifywait-with-P (vec)
"Check, whether remote `inotifywait' option \"-P\" is applicable."
(with-tramp-connection-property vec "inotifywait-P"
(tramp-message vec 5 "Checking, whether `inotifywait -P' works")
(let ((result
(tramp-send-command-and-read
vec
(format
"echo \\\"`%s -P 2>&1`\\\"" (tramp-get-remote-inotifywait vec))
'noerror)))
(string-match-p "No files specified to watch!" result))))