diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-06-06 13:59:43 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-06-06 13:59:43 +0300 |
commit | 6d38ea067757974e0605b4cfb4c16731cdb2541e (patch) | |
tree | 955f7ad42895a895325e08c52b3c5e0202743c59 | |
parent | a8c082e2adf9865636c0e0a6906c6fde3a7c3e69 (diff) |
Adapt to libbutl::process interface change
-rw-r--r-- | build2/dist/operation.cxx | 2 | ||||
-rw-r--r-- | build2/test/script/runner.cxx | 6 |
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 (); |