[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: process-file instead of call-process in proced.el?
From: |
Michael Albinus |
Subject: |
Re: process-file instead of call-process in proced.el? |
Date: |
Sun, 27 Mar 2022 16:08:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Michael Albinus <michael.albinus@gmx.de> writes:
Hi,
> I see. So if we don't want to emulate list-system-processes on a remote
> host, we need another mean to determine, that a process is killed in a
> sudo environment.
I've prepared a first version of a patch (still missing documentation),
see appended. The changes are:
- `signal-process' is capable now to signal remote processes. This is
triggered when either the PROCESS object has the property `remote-pid'
(set by Tramp), or the PROCESS is just a number, and the additional
optional parameter REMOTE is a remote file name.
- There is a new user option `proced-remote-directory', which defaults
to "/sudo::". When `proced-send-signal' or `proced-renice' are invoked
with a prefix arg ("C-u k" or "C-u r" in the *Proced* buffer), the
respective signal is sent with the credentials as identified by this
user option.
Comments?
Best regards, Michael.
txtCqLxEzEnpl.txt
Description: Text Data
- Re: process-file instead of call-process in proced.el?, (continued)
- Re: process-file instead of call-process in proced.el?, Michael Albinus, 2022/03/25
- Re: process-file instead of call-process in proced.el?, Filipp Gunbin, 2022/03/25
- Re: process-file instead of call-process in proced.el?, Michael Albinus, 2022/03/25
- Re: process-file instead of call-process in proced.el?, Filipp Gunbin, 2022/03/25
- Re: process-file instead of call-process in proced.el?, Michael Albinus, 2022/03/25
Re: process-file instead of call-process in proced.el?, Michael Albinus, 2022/03/26
- Re: process-file instead of call-process in proced.el?, Roland Winkler, 2022/03/26
- Re: process-file instead of call-process in proced.el?, Michael Albinus, 2022/03/26
- Re: process-file instead of call-process in proced.el?, Roland Winkler, 2022/03/26
- Re: process-file instead of call-process in proced.el?, Michael Albinus, 2022/03/27
- Re: process-file instead of call-process in proced.el?,
Michael Albinus <=
- Re: process-file instead of call-process in proced.el?, Roland Winkler, 2022/03/27
- Re: process-file instead of call-process in proced.el?, Michael Albinus, 2022/03/28
- Re: process-file instead of call-process in proced.el?, Roland Winkler, 2022/03/28
Re: process-file instead of call-process in proced.el?, Filipp Gunbin, 2022/03/28
Re: process-file instead of call-process in proced.el?, Michael Albinus, 2022/03/28
Re: process-file instead of call-process in proced.el?, Filipp Gunbin, 2022/03/28
Re: process-file instead of call-process in proced.el?, Michael Albinus, 2022/03/28
Re: process-file instead of call-process in proced.el?, Filipp Gunbin, 2022/03/28
Re: process-file instead of call-process in proced.el?, Michael Albinus, 2022/03/30
Re: process-file instead of call-process in proced.el?, Filipp Gunbin, 2022/03/30