diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/callproc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c index 7c85eed835f..4cec02be7ef 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -631,6 +631,14 @@ call_process (ptrdiff_t nargs, Lisp_Object *args, int filefd, | |||
| 631 | 631 | ||
| 632 | if (pid == 0) | 632 | if (pid == 0) |
| 633 | { | 633 | { |
| 634 | #ifdef DARWIN_OS | ||
| 635 | /* Work around a macOS bug, where SIGCHLD is apparently | ||
| 636 | delivered to a vforked child instead of to its parent. See: | ||
| 637 | http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00342.html | ||
| 638 | */ | ||
| 639 | signal (SIGCHLD, SIG_DFL); | ||
| 640 | #endif | ||
| 641 | |||
| 634 | unblock_child_signal (&oldset); | 642 | unblock_child_signal (&oldset); |
| 635 | 643 | ||
| 636 | #ifdef DARWIN_OS | 644 | #ifdef DARWIN_OS |