diff options
-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 (); |