Use enum for exec stderr parameter (1/2)

This commit is contained in:
Robin Gareus 2019-03-05 19:06:15 +01:00
parent fdf74cf850
commit e1ffe7857f
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
7 changed files with 19 additions and 13 deletions

View file

@ -422,7 +422,7 @@ ExportHandler::finish_timespan ()
ARDOUR::SystemExec *se = new ARDOUR::SystemExec(fmt->command(), subs);
info << "Post-export command line : {" << se->to_s () << "}" << endmsg;
se->ReadStdout.connect_same_thread(command_connection, boost::bind(&ExportHandler::command_output, this, _1, _2));
int ret = se->start (2);
int ret = se->start (SystemExec::MergeWithStdin);
if (ret == 0) {
// successfully started
while (se->is_running ()) {