Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 3889

A process is a running instance of a program. Use this tag for how Emacs interacts with programs that it runs (compilers, viewers, network backends, etc.)

1 vote
Accepted

External process hangs

Here is the related docstring of make-process. :command COMMAND -- COMMAND is a list starting with the program file name, followed by strings to give to the program as arguments. …
xuchunyang's user avatar
  • 14.8k
3 votes
Accepted

Error in process filter

use "pipe" instead via (let ((process-connection-type nil)) (make-process ...)) … or (make-process :connection-type nil ...) …
xuchunyang's user avatar
  • 14.8k
1 vote
Accepted

shell command on region with process substitution

You can use something like the following with M-|: cat > tmp.txt && python -m doctest -v tmp.txt
xuchunyang's user avatar
  • 14.8k
2 votes

How to pipe data through multiple processes?

ls | wc, there are many other APIs such as shell-command-to-string, call-process-shell-command and start-process-shell-command. … Though it's possible to use asynchronous process + process filter to avoiding blocking, it's still going to be slow. …
xuchunyang's user avatar
  • 14.8k
5 votes
Accepted

Send content of region or current line to a tmp file, then execute shell script with filenam...

If your ~/dotfiles/rundo.sh accepts stdin as input, like many other commands such as grep/wc/bash/python, to run a command with the region as stdin, simply run M-| ~/dotfiles/rundo.sh (M-| runs shell- …
xuchunyang's user avatar
  • 14.8k