all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: emacs-devel@gnu.org
Subject: Starting a subprocess in stopped state
Date: Tue, 02 May 2017 22:04:27 +0300	[thread overview]
Message-ID: <831ss7hyh0.fsf@gnu.org> (raw)

My reading of process.c seems to indicate that the :stop attribute of
make-process only has effect on network or serial or pipe process
types; a process running a program cannot use that attribute, and can
only stopped by explicitly calling stop-process.  Is this correct, or
did I miss something?  This is not explicitly documented.

What I see in the code is that when make-process is called with the
:stop attribute non-nil, the file descriptor to be used for reading
the process output is not added to the list of descriptors watched by
pselect.  But that doesn't really suspend the process like SIGTSTP
would, right?  And I see no other code that specifically handles the
:stop attribute.  Am I missing something?

TIA



             reply	other threads:[~2017-05-02 19:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-02 19:04 Eli Zaretskii [this message]
2017-05-05  7:29 ` Starting a subprocess in stopped state Eli Zaretskii
2017-05-06  5:42   ` Thien-Thi Nguyen
2017-05-06  7:58     ` Eli Zaretskii
2017-05-07 12:24       ` Philipp Stephani
2017-05-07 17:16         ` Eli Zaretskii
2017-05-07 17:25       ` Paul Eggert
2017-05-07 17:57         ` Eli Zaretskii
2017-05-07 18:05         ` Andreas Schwab
2017-05-08 16:41       ` Davis Herring
2017-05-08 16:46         ` Eli Zaretskii

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=831ss7hyh0.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.