all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Paul <mafeuser@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: tramp: how kill process
Date: Sun, 22 Nov 2015 19:46:13 +0100	[thread overview]
Message-ID: <87vb8tc1oq.fsf@gmx.de> (raw)
In-Reply-To: <56520381.3090900@gmail.com> (Paul's message of "Sun, 22 Nov 2015 19:03:45 +0100")

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".

> regards

Best regards, Michael.



  reply	other threads:[~2015-11-22 18:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-22 18:03 tramp: how kill process Paul
2015-11-22 18:46 ` Michael Albinus [this message]
2015-11-22 20:04   ` Paul
2015-11-22 20:58     ` Bob Proulx
2015-11-22 20:21   ` Paul
2015-11-22 20:26   ` Paul
2015-11-22 20:30     ` Paul
2015-11-22 21:34       ` Michael Albinus
2015-11-23 13:09         ` Paul
2015-11-23 13:12         ` Paul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vb8tc1oq.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mafeuser@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.