Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [subprocess]

The tag has no usage guidance.

9 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
84 views

How to avoid losing focus after starting an asynchronous process?

The lisp function start-process is meant to start an asynchronous subprocess, namely a process running independently of Emacs itself. I have noticed that, under my GNOME desktop environment, when my ...
Ruy's user avatar
  • 839
1 vote
0 answers
75 views

How can I execute synchronously a xdotool process in an Elisp function?

I want to perform a repetitive task using Emacs and another program (which, unfortunately, runs under X). I have then set up an elisp function and a xdotool script to do the two parts of the work. The ...
Alessandro Bertulli's user avatar
1 vote
0 answers
59 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 ...
ideasman42's user avatar
  • 8,826
1 vote
0 answers
54 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 ...
quackrabbit's user avatar
1 vote
0 answers
284 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 ...
Ben Maughan's user avatar
0 votes
0 answers
29 views

Not asking to kill a dead process?

When I hit g (recompile) in a *Compilation* buffer while the previous compilation is not done yet, I am asked whether I want compilation killed. If I wait for it to finish, I get the echo area look ...
sds's user avatar
  • 6,124
0 votes
0 answers
72 views

start-process permissions in Windows

I can open an HTML file using shell command: M-! start file.html, but when I try to write an elisp function which includes the line (some of these arguments are actually variables but I've written out ...
hatmatrix's user avatar
  • 1,096
0 votes
0 answers
65 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 ...
Realraptor's user avatar
  • 1,293
0 votes
0 answers
125 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 ...
kjo's user avatar
  • 3,247