[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Starting a subprocess in stopped state
From: |
Eli Zaretskii |
Subject: |
Starting a subprocess in stopped state |
Date: |
Tue, 02 May 2017 22:04:27 +0300 |
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
- Starting a subprocess in stopped state,
Eli Zaretskii <=