aboutsummaryrefslogtreecommitdiff
path: root/bdep/utility.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-14 14:29:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-03-14 14:29:43 +0200
commitcc7216e60cd6893974e687599682c5e6233e9b69 (patch)
tree2304123805fda221d189034b2b85b3aac56055f4 /bdep/utility.hxx
parent6be9c7746f92aa721782a4d0eaff5f901fc528cd (diff)
Initial implementation of new command
Diffstat (limited to 'bdep/utility.hxx')
-rw-r--r--bdep/utility.hxx10
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;