aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/utility.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/utility.hxx')
-rw-r--r--libbuild2/utility.hxx27
1 files changed, 26 insertions, 1 deletions
diff --git a/libbuild2/utility.hxx b/libbuild2/utility.hxx
index 50af5e6..18122e0 100644
--- a/libbuild2/utility.hxx
+++ b/libbuild2/utility.hxx
@@ -293,7 +293,20 @@ namespace build2
const location& = location ());
inline process
- run_start (const process_env& pe, // Implicit-constructible from process_path.
+ run_start (uint16_t verbosity,
+ const process_env& pe,
+ cstrings& args,
+ int in,
+ int out,
+ bool error = true,
+ const dir_path& cwd = dir_path (),
+ const location& l = location ())
+ {
+ return run_start (verbosity, pe, args.data (), in, out, error, cwd, l);
+ }
+
+ inline process
+ run_start (const process_env& pe,
const char* args[],
int in,
int out,
@@ -304,6 +317,18 @@ namespace build2
return run_start (verb_never, pe, args, in, out, error, cwd, l);
}
+ inline process
+ run_start (const process_env& pe,
+ cstrings& args,
+ int in,
+ int out,
+ bool error = true,
+ const dir_path& cwd = dir_path (),
+ const location& l = location ())
+ {
+ return run_start (pe, args.data (), in, out, error, cwd, l);
+ }
+
inline void
run (const process_path& p,
const char* args[],