aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,