diff --git a/libs/pbd/system_exec.cc b/libs/pbd/system_exec.cc index 23f808a0c3..6be62ef8ef 100644 --- a/libs/pbd/system_exec.cc +++ b/libs/pbd/system_exec.cc @@ -897,8 +897,11 @@ SystemExec::start (StdErrMode stderr_mode, const char *vfork_exec_wrapper) } else if (stderr_mode == IgnoreAndClose) { /* ignore STDERR */ ::close(STDERR_FILENO); - } else { + } else { /* stderr_mode == ShareWithParent */ /* keep STDERR */ +#if defined __APPLE__&& defined ASL_LOG_DESCRIPTOR_WRITE + ::close(STDERR_FILENO); +#endif } if (pout[1] != STDOUT_FILENO && pout[1] != STDERR_FILENO) {