summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/pbd/system_exec.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/pbd/system_exec.cc b/libs/pbd/system_exec.cc
index 6be62ef8ef..29bc11bb3b 100644
--- a/libs/pbd/system_exec.cc
+++ b/libs/pbd/system_exec.cc
@@ -901,6 +901,7 @@ SystemExec::start (StdErrMode stderr_mode, const char *vfork_exec_wrapper)
/* keep STDERR */
#if defined __APPLE__&& defined ASL_LOG_DESCRIPTOR_WRITE
::close(STDERR_FILENO);
+ stderr_mode = IgnoreAndClose; // for vfork
#endif
}