aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-06-06 13:59:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-06-06 13:59:43 +0300
commit6d38ea067757974e0605b4cfb4c16731cdb2541e (patch)
tree955f7ad42895a895325e08c52b3c5e0202743c59
parenta8c082e2adf9865636c0e0a6906c6fde3a7c3e69 (diff)
Adapt to libbutl::process interface change
-rw-r--r--build2/dist/operation.cxx2
-rw-r--r--build2/test/script/runner.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/build2/dist/operation.cxx b/build2/dist/operation.cxx
index d4ca3c6..b600a98 100644
--- a/build2/dist/operation.cxx
+++ b/build2/dist/operation.cxx
@@ -489,7 +489,7 @@ namespace build2
// Change child's working directory to dist_root.
//
- process pr (root.string ().c_str (), pp, args.data ());
+ process pr (pp, args.data (), 0, 1, 2, root.string ().c_str ());
if (!pr.wait ())
throw failed ();
diff --git a/build2/test/script/runner.cxx b/build2/test/script/runner.cxx
index c1bf2d4..82c288b 100644
--- a/build2/test/script/runner.cxx
+++ b/build2/test/script/runner.cxx
@@ -1536,10 +1536,10 @@ namespace build2
if (verb >= 2)
print_process (args);
- process pr (sp.wd_path.string ().c_str (),
- pp,
+ process pr (pp,
args.data (),
- ifd.get (), ofd.get (), efd.get ());
+ ifd.get (), ofd.get (), efd.get (),
+ sp.wd_path.string ().c_str ());
ifd.reset ();
ofd.reset ();