>From b251ace4fa4abe2bf279bd6e12861b502de6febf Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Wed, 1 Jun 2011 21:36:44 +0200 Subject: [PATCH 4/4] Tuning for asynchronous processes. --- tramp-adb.el | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tramp-adb.el b/tramp-adb.el index f1e740e..010211f 100644 --- a/tramp-adb.el +++ b/tramp-adb.el @@ -776,7 +776,7 @@ PRESERVE-UID-GID and PRESERVE-SELINUX-CONTEXT are completely ignored." ;; When PROGRAM is nil, we just provide a tty. (let ((command (when (stringp program) - (format "cd %s; exec %s" + (format "cd %s; %s" (tramp-shell-quote-argument localname) (mapconcat 'tramp-shell-quote-argument (cons program args) " ")))) @@ -929,7 +929,7 @@ connection if a previous connection has died for some reason." (list "shell"))) (p (let ((default-directory (tramp-compat-temporary-file-directory))) - (apply 'start-process (tramp-buffer-name vec) buf + (apply 'start-process (tramp-get-connection-name vec) buf (tramp-adb-program) args)))) (tramp-message vec 6 "%s" (mapconcat 'identity (process-command p) " ")) -- 1.7.4.1