projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add method to find subgroup_bus
[ardour.git]
/
libs
/
ardour
/
system_exec.cc
diff --git
a/libs/ardour/system_exec.cc
b/libs/ardour/system_exec.cc
index 456f8351f26a33586294f782f433b16dc997f3b0..aec89564223511a08834ca51b2e180850d16e010 100644
(file)
--- a/
libs/ardour/system_exec.cc
+++ b/
libs/ardour/system_exec.cc
@@
-25,7
+25,7
@@
#include "ardour/filesystem_paths.h"
#include "ardour/system_exec.h"
#include "ardour/filesystem_paths.h"
#include "ardour/system_exec.h"
-using namespace ARDOUR;
+namespace ARDOUR {
char * SystemExec::_vfork_exec_wrapper = NULL;
char * SystemExec::_vfork_exec_wrapper = NULL;
@@
-35,10
+35,13
@@
static char *vfork_exec_wrapper_path() {
#else
std::string vfork_exec_wrapper;
if (!PBD::find_file (
#else
std::string vfork_exec_wrapper;
if (!PBD::find_file (
- PBD::Searchpath(Glib::build_filename(ARDOUR::ardour_dll_directory(), "vfork")),
+ PBD::Searchpath(
+ ARDOUR::ardour_dll_directory() // deployed
+ + G_SEARCHPATH_SEPARATOR_S + Glib::build_filename(ARDOUR::ardour_dll_directory(), "vfork") // src, build (ardev, etc)
+ ),
"ardour-exec-wrapper", vfork_exec_wrapper)) {
"ardour-exec-wrapper", vfork_exec_wrapper)) {
- PBD::
warning << "vfork exec wrapper not found..'
" << endmsg;
- return NULL;
+ PBD::
fatal << "vfork exec wrapper 'ardour-exec-wrapper' was not found in $PATH.
" << endmsg;
+ abort(); /*NOTREACHED*/
}
return strdup(vfork_exec_wrapper.c_str());
#endif
}
return strdup(vfork_exec_wrapper.c_str());
#endif
@@
-75,3
+78,5
@@
SystemExec::SystemExec (std::string c, const std::map<char, std::string> subs)
}
SystemExec::~SystemExec() { }
}
SystemExec::~SystemExec() { }
+
+} // namespace ARDOUR