|
From: | Paul |
Subject: | Re: tramp: how kill process |
Date: | Sun, 22 Nov 2015 21:26:20 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Michael, I debugged list-processes-kill-process.it does not work because (get-text-property (point) 'process) returns nil, when point is on the line with process to be killed.
But body contains the command `delete-process`, which You probably wanted to suggest me through `d' shortcut.
that one worked:) thank YOu for Your help best regards! On 22.11.2015 19:46, Michael Albinus wrote:
Paul <mafeuser@gmail.com> writes:Hallo people.Hi,When on "/sudo::/root" tramp buffer, I run the following command: (start-file-process "my-process-name" (get-buffer-create "*my-process-output*") "pathToProcess") I can see it in M-x list-processes. Unfortunatelly the following does not kill it: C-x C-f "/sudo::/root" M-x: (kill-process "my-process-name")`kill-process' needs a process as argument, not a process name.How to do it in elegant way then?M-x list-processes Move to the process to kill, and enter "d".regardsBest regards, Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |