diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-07-27 17:57:43 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-07-27 17:57:43 +0300 |
commit | a77942df26b0957aa17f1af16b80358700f02520 (patch) | |
tree | c225b4b40431ac27865e27708677a481cf9cf23b | |
parent | 9658fa80fd81f17508ff8b3413fe9e9ded0b83e6 (diff) |
Adapt to process_start() overload renaming
-rw-r--r-- | bbot/diagnostics.hxx | 2 | ||||
-rw-r--r-- | bbot/utility.txx | 2 | ||||
-rw-r--r-- | 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<I> (in), forward<O> (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> (a)...)); + process_start_callback (cmdc, + fdnull (), // Never reads from stdout. + 2, // 1>&2 + pipe.out, + pe, + forward<A> (a)...)); pipe.out.close (); |