From 6a67e021019a415b69d5f85bb157c566973413c7 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 30 May 2017 20:33:44 +0300 Subject: Extend tracer with process_run() command interface --- bbot/utility.txx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bbot/utility.txx') 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 (in), forward (out), forward (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 (in), forward (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 (in), forward (out), 2, // Diagnostics to stderr. -- cgit v1.1