help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp: how kill process


From: Paul
Subject: Re: tramp: how kill process
Date: Mon, 23 Nov 2015 14:09:11 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

based on `delete-process` source code, it first tires to kill the process, then delete entry from *Process List*.

The second step is done without checking the result of first step.
Probably this is the reason of behaviour in my emacs.

either of the following commands return -1, and do NOT kill the process:
(signal-process "my-process-name" 'SIGKILL)
(signal-process "my-process-name" 'SIGINT)

I'm running these commands from /sudo::/root

Some inconsistency arises: on one hand emacs can create process with other user id, and on the other hand does not allow to kill it.

Is it a bug?

regards,
Paul

On 22.11.2015 22:34, Michael Albinus wrote:
Paul <mafeuser@gmail.com> writes:

Michael,

Hi Paul,

I must unsay it.

delete-process removes process from list of processes at
  *Process List*, but process itself is NOT killed, I still can see it
in M-x proced.

In my Emacs stanza (25.0.50), the key "d" in the *Process List* buffer
is bound to the function `process-menu-delete-process'. It's docstring
says "Kill process at point in a ‘list-processes’ buffer."

regards

Best regards, Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]