diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/export_handler.cc | 5 | ||||
-rw-r--r-- | libs/pbd/system_exec.cc | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/libs/ardour/export_handler.cc b/libs/ardour/export_handler.cc index 4368d54430..e706522aa9 100644 --- a/libs/ardour/export_handler.cc +++ b/libs/ardour/export_handler.cc @@ -328,20 +328,15 @@ ExportHandler::finish_timespan () subs.insert (std::pair<char, std::string> ('s', session.path ())); subs.insert (std::pair<char, std::string> ('n', session.name ())); - - std::cerr << "running command: " << fmt->command() << "..." << std::endl; ARDOUR::SystemExec *se = new ARDOUR::SystemExec(fmt->command(), subs); se->ReadStdout.connect_same_thread(command_connection, boost::bind(&ExportHandler::command_output, this, _1, _2)); if (se->start (2) == 0) { // successfully started - std::cerr << "started!" << std::endl; while (se->is_running ()) { // wait for system exec to terminate - // std::cerr << "waiting..." << std::endl; Glib::usleep (1000); } } - std::cerr << "done! deleting..." << std::endl; delete (se); } diff --git a/libs/pbd/system_exec.cc b/libs/pbd/system_exec.cc index a5dd20afac..5d2db21efc 100644 --- a/libs/pbd/system_exec.cc +++ b/libs/pbd/system_exec.cc @@ -274,9 +274,6 @@ SystemExec::make_argp_escaped(std::string command, const std::map<char, std::str } } argp[n] = NULL; - - char *p = argp[0]; - n = 0; } SystemExec::~SystemExec () |