Dave Abrahams <[email protected]> writes: Hi Dave,
> Putting the sit-for here instead *seems* to give better results, but I'm > mostly just taking potshot guesses: > > (defun tramp-action-out-of-band (proc vec) > "Check, whether an out-of-band copy has finished." > ;; There might be pending output for the exit status. > (sit-for 0.01 :nodisp) ;; <============================ > (tramp-accept-process-output proc 0.1) > (cond ((and (memq (process-status proc) '(stop exit)) > (zerop (process-exit-status proc))) > (tramp-message vec 3 "Process has finished.") Interesting idea, will investigate. However, `tramp-action-out-of-band' is valid for scp-like methods only; I need to check first whether this happens also for ssh-like methods. Best regards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
