Questions tagged [subprocess]

The tag has no usage guidance.

7 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
19 views

How to prevent emacs hanging when 'accept-process-output' is called multiple times on a single process?

I'm running into a bug where Emacs locks up when accept-process-output is being called on the same process multiple times. In this case this is the ispell-process, however I don't think that matters ...
1
vote
1answer
35 views

Troubleshooting a hanging `list-processes`

Normally I'd use M-x list-processes to see what Emacs is running in the background. But in this case list-processes itself hangs. What is the right thing to do in this situation?
1
vote
0answers
33 views

Allow user to interact with subprocess

I would like to call a subprocess, and that subprocess has some interactive behavior. Thus, I would emacs to parse the output of the subprocess, ask the user for input, and then hand that input back ...
1
vote
0answers
227 views

How to avoid slow response by set-process-sentinel to process that produces many lines of output

I am running a command that produces a few thousand lines of output, which I would like to store in a buffer. I want to run it in the background and be alerted when it is finished. The problem is that ...
0
votes
0answers
20 views

Communicating with an external process from a timer?

Is it possible to communicate with an external process from a timer? Currently Emacs prevents starting a process from a timer, so I was wondering of sending input to the stdin or getting output from ...
0
votes
0answers
49 views

How can I make multiple calls to external binaries?

I want to write an interactive function to Call an external binary Write the output of the binary into a buffer Process the buffer to extracts args for next call Call another external binary using ...
0
votes
0answers
79 views

Retaining focus while displaying graphics windows

NB: The Emacs world uses the word frame to refer to what in most other contexts is called window, and uses the word window to describe something else. In this post, however, the word window always ...