From a77942df26b0957aa17f1af16b80358700f02520 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 27 Jul 2017 17:57:43 +0300 Subject: Adapt to process_start() overload renaming --- bbot/diagnostics.hxx | 2 +- bbot/utility.txx | 2 +- bbot/worker/worker.cxx | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bbot/diagnostics.hxx b/bbot/diagnostics.hxx index 124e64c..1e349ec 100644 --- a/bbot/diagnostics.hxx +++ b/bbot/diagnostics.hxx @@ -117,7 +117,7 @@ namespace bbot public: using trace_mark::trace_mark; - // process_run() command tracer interface. + // process_run_callback() command tracer interface. // void operator() (const char* const [], std::size_t) const; diff --git a/bbot/utility.txx b/bbot/utility.txx index f747fed..9a82000 100644 --- a/bbot/utility.txx +++ b/bbot/utility.txx @@ -27,7 +27,7 @@ namespace bbot { try { - return butl::process_start ( + return butl::process_start_callback ( t, forward (in), forward (out), diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx index 3c74800..199528f 100644 --- a/bbot/worker/worker.cxx +++ b/bbot/worker/worker.cxx @@ -91,12 +91,12 @@ run_cmd (tracer& t, fdpipe pipe (fdopen_pipe ()); // Text mode seems appropriate. process pr ( - process_start (cmdc, - fdnull (), // Never reads from stdout. - 2, // 1>&2 - pipe.out, - pe, - forward (a)...)); + process_start_callback (cmdc, + fdnull (), // Never reads from stdout. + 2, // 1>&2 + pipe.out, + pe, + forward (a)...)); pipe.out.close (); -- cgit v1.1