From 6d38ea067757974e0605b4cfb4c16731cdb2541e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 6 Jun 2017 13:59:43 +0300 Subject: Adapt to libbutl::process interface change --- build2/dist/operation.cxx | 2 +- build2/test/script/runner.cxx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'build2') 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 (); -- cgit v1.1