diff options
author | Philipp Stephani <phst@google.com> | 2020-12-25 11:39:09 +0100 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2020-12-25 12:17:32 +0100 |
commit | 2c79a8f9210db01c86b0e5f236adeb0509519d30 (patch) | |
tree | dd8993aedfdbb54cb8d7337fcf64a0417b9ff0ab /lisp/htmlfontify.el | |
parent | 3ba34141da77a24c251ee6530f3f72a366fe556e (diff) | |
download | emacs-2c79a8f9210db01c86b0e5f236adeb0509519d30.tar.gz emacs-2c79a8f9210db01c86b0e5f236adeb0509519d30.tar.bz2 emacs-2c79a8f9210db01c86b0e5f236adeb0509519d30.zip |
Use posix_spawn if possible.
posix_spawn is less error-prone than vfork + execve, and can make
better use of system-specific enhancements like 'clone' on Linux. Use
it if we don't need to configure a pseudoterminal.
* src/Makefile.in (LIB_POSIX_SPAWN): New variable.
(LIBES): Use it.
* src/callproc.c (emacs_spawn): Use posix_spawn on Unix-like system if
we don't need to set up a pseudoterminal.
Diffstat (limited to 'lisp/htmlfontify.el')
0 files changed, 0 insertions, 0 deletions