aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-06-06 13:54:01 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-06-06 19:03:24 +0300
commite66023e394db72e81bc88e4747325380db7c96d0 (patch)
tree81cbeb1ce0ebf174cfb222c61bca2cda580c79af
parent983eb4b40d63427b619f90e7fe05b4717129a927 (diff)
Adapt to process_start() signature change
-rw-r--r--bbot/utility.txx3
-rw-r--r--bbot/worker.cxx1
2 files changed, 1 insertions, 3 deletions
diff --git a/bbot/utility.txx b/bbot/utility.txx
index c5ac8ff..f747fed 100644
--- a/bbot/utility.txx
+++ b/bbot/utility.txx
@@ -32,8 +32,7 @@ namespace bbot
forward<I> (in),
forward<O> (out),
forward<E> (err),
- cwd,
- p,
+ butl::process_env (p, cwd),
forward<A> (args)...);
}
catch (const process_error& e)
diff --git a/bbot/worker.cxx b/bbot/worker.cxx
index 63ccd0f..82dc318 100644
--- a/bbot/worker.cxx
+++ b/bbot/worker.cxx
@@ -80,7 +80,6 @@ run_bpkg (tracer& t, string& log, const string& cmd, A&&... a)
fdnull (), // Never reads from stdout.
2, // 1>&2
pipe.out,
- dir_path (),
"bpkg",
"-v",
cmd,