[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue with remote async processes.
From: |
Ergus |
Subject: |
Issue with remote async processes. |
Date: |
Thu, 24 Mar 2022 23:24:14 +0100 |
Hi:
I have this simple code:
(defun my/async-sentinel (process _msg)
"Sentinel function for an asynchronous counsel PROCESS."
(when (eq (process-status process) 'exit)
(with-current-buffer " *string-output*"
(while (accept-process-output process))
(message "%s" (buffer-substring-no-properties (point-min) (point-max))))))
(let ((my/output (generate-new-buffer " *string-output*" t))
process)
(with-connection-local-variables
(setq process (start-file-process "myls" my/output "ls"))
(set-process-sentinel process #'my/async-sentinel)))
This works in local processes without issues, but on remote I don't get
any output. Probably it is an error in the code, but I don't understand
what's missing. And something similar to this used to work before.
Any help please?
- Issue with remote async processes.,
Ergus <=
- Re: Issue with remote async processes., Michael Albinus, 2022/03/25
- Re: Issue with remote async processes., Ergus, 2022/03/26
- Re: Issue with remote async processes., Michael Albinus, 2022/03/27
- Re: Issue with remote async processes., Ergus, 2022/03/27
- Re: Issue with remote async processes., Michael Albinus, 2022/03/28
- Re: Issue with remote async processes., Ergus, 2022/03/28
- Re: Issue with remote async processes., Michael Albinus, 2022/03/29
- Re: Issue with remote async processes., Ergus, 2022/03/29
- Re: Issue with remote async processes., Michael Albinus, 2022/03/29