[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master aa072db: * lisp/net/tramp.el (tramp-action-process-alive): Read p
From: |
Michael Albinus |
Subject: |
master aa072db: * lisp/net/tramp.el (tramp-action-process-alive): Read pending output. |
Date: |
Sat, 11 Apr 2020 03:09:02 -0400 (EDT) |
branch: master
commit aa072db86b6b06b54d7f5846231bdf4a73b0cd84
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>
* lisp/net/tramp.el (tramp-action-process-alive): Read pending output.
---
lisp/net/tramp.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index e30f27f..a16085d 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -4074,6 +4074,8 @@ The terminal type can be configured with
`tramp-terminal-type'."
(defun tramp-action-process-alive (proc _vec)
"Check, whether a process has finished."
(unless (process-live-p proc)
+ ;; There might be pending output.
+ (while (tramp-accept-process-output proc 0))
(throw 'tramp-action 'process-died)))
(defun tramp-action-out-of-band (proc vec)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master aa072db: * lisp/net/tramp.el (tramp-action-process-alive): Read pending output.,
Michael Albinus <=