summaryrefslogtreecommitdiff
path: root/libs/ardour/vst_info_file.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-03-05 19:06:15 +0100
committerRobin Gareus <robin@gareus.org>2019-03-05 22:49:15 +0100
commite1ffe7857ffdd6d29a8548267571e76e569c1fe9 (patch)
tree564eabf08966b48da4c9c1e7f36c89f23edcd2ea /libs/ardour/vst_info_file.cc
parentfdf74cf850885a1145305b5a308b08945ba69dd6 (diff)
Use enum for exec stderr parameter (1/2)
Diffstat (limited to 'libs/ardour/vst_info_file.cc')
-rw-r--r--libs/ardour/vst_info_file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/vst_info_file.cc b/libs/ardour/vst_info_file.cc
index d6d946dee6..189288ce15 100644
--- a/libs/ardour/vst_info_file.cc
+++ b/libs/ardour/vst_info_file.cc
@@ -998,7 +998,7 @@ vstfx_get_info (const char* dllpath, enum ARDOUR::PluginType type, enum VSTScanM
ARDOUR::SystemExec scanner (scanner_bin_path, argp);
PBD::ScopedConnectionList cons;
scanner.ReadStdout.connect_same_thread (cons, boost::bind (&parse_scanner_output, _1 ,_2));
- if (scanner.start (2 /* send stderr&stdout via signal */)) {
+ if (scanner.start (ARDOUR::SystemExec::MergeWithStdin)) {
PBD::error << string_compose (_("Cannot launch VST scanner app '%1': %2"), scanner_bin_path, strerror (errno)) << endmsg;
close_error_log ();
return infos;