summaryrefslogtreecommitdiff
path: root/libs/ardour/system_exec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/system_exec.cc')
-rw-r--r--libs/ardour/system_exec.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/ardour/system_exec.cc b/libs/ardour/system_exec.cc
index 90e729a7f6..760a9b7878 100644
--- a/libs/ardour/system_exec.cc
+++ b/libs/ardour/system_exec.cc
@@ -65,4 +65,14 @@ SystemExec::SystemExec (std::string c, std::string a)
#endif
}
+SystemExec::SystemExec (std::string c, const std::map<char, std::string> subs)
+ : PBD::SystemExec(c, subs)
+{
+#ifndef PLATFORM_WINDOWS
+ if (!_vfork_exec_wrapper) {
+ _vfork_exec_wrapper = vfork_exec_wrapper_path();
+ }
+#endif
+}
+
SystemExec::~SystemExec() { }