diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-14 14:29:43 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-14 14:29:43 +0200 |
commit | cc7216e60cd6893974e687599682c5e6233e9b69 (patch) | |
tree | 2304123805fda221d189034b2b85b3aac56055f4 /bdep/utility.hxx | |
parent | 6be9c7746f92aa721782a4d0eaff5f901fc528cd (diff) |
Initial implementation of new command
Diffstat (limited to 'bdep/utility.hxx')
-rw-r--r-- | bdep/utility.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bdep/utility.hxx b/bdep/utility.hxx index d8a4983..f3e2c73 100644 --- a/bdep/utility.hxx +++ b/bdep/utility.hxx @@ -88,6 +88,16 @@ namespace bdep void rm (const path&, uint16_t verbosity = 3); + // Run a process. + // + template <typename I, typename O, typename E, typename P, typename... A> + process + start (I&& in, O&& out, E&& err, const P& prog, A&&... args); + + template <typename P, typename... A> + void + run (const P& prog, A&&... args); + // Run the bpkg process. // class common_options; |