aboutsummaryrefslogtreecommitdiff
path: root/bbot/utility.txx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-30 20:33:44 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-30 20:34:46 +0300
commit6a67e021019a415b69d5f85bb157c566973413c7 (patch)
tree0634cb6b4bf7e23d1b19a89cad51db242a2b06b3 /bbot/utility.txx
parentf8b062f808b05daea7f827d85d1989bd705b8e73 (diff)
Extend tracer with process_run() command interface
Diffstat (limited to 'bbot/utility.txx')
-rw-r--r--bbot/utility.txx6
1 files changed, 3 insertions, 3 deletions
diff --git a/bbot/utility.txx b/bbot/utility.txx
index 0eb5d75..c5ac8ff 100644
--- a/bbot/utility.txx
+++ b/bbot/utility.txx
@@ -28,7 +28,7 @@ namespace bbot
try
{
return butl::process_start (
- [&t] (const char* c[], size_t n) {run_trace (t, c, n);},
+ t,
forward<I> (in),
forward<O> (out),
forward<E> (err),
@@ -111,7 +111,7 @@ namespace bbot
method_type m,
const string& url,
A&&... options)
- : butl::curl ([&t] (const char* c[], size_t n) {run_trace (t, c, n);},
+ : butl::curl (t,
forward<I> (in),
forward<O> (out),
2, // Diagnostics to stderr.
@@ -130,7 +130,7 @@ namespace bbot
method_type m,
const string& url,
A&&... options)
- : butl::curl ([&t] (const char* c[], size_t n) {run_trace (t, c, n);},
+ : butl::curl (t,
forward<I> (in),
forward<O> (out),
2, // Diagnostics to stderr.