diff options
author | Robin Gareus <robin@gareus.org> | 2019-03-07 21:40:14 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-03-07 23:51:04 +0100 |
commit | 15cd1163fcfa8d314ae1ee10e72c4298655fa2a8 (patch) | |
tree | 67f2dd729a2a384418ce1d3df178198b8fcba8c6 /libs/pbd | |
parent | df8097e31eaba924a75c8293575868c73fe7eec7 (diff) |
Pass stderr mode properly to vfork wrapper
Diffstat (limited to 'libs/pbd')
-rw-r--r-- | libs/pbd/system_exec.cc | 1 |
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 } |