diff options
Diffstat (limited to 'bdep/utility.hxx')
-rw-r--r-- | bdep/utility.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bdep/utility.hxx b/bdep/utility.hxx index 09e0e45..1ecdc6a 100644 --- a/bdep/utility.hxx +++ b/bdep/utility.hxx @@ -15,6 +15,7 @@ #include <libbutl/ft/lang.hxx> #include <libbutl/utility.mxx> // casecmp(), reverse_iterate(), etc +#include <libbutl/fdstream.mxx> #include <libbutl/filesystem.mxx> #include <bdep/types.hxx> @@ -54,6 +55,10 @@ namespace bdep using butl::auto_rmfile; using butl::auto_rmdir; + // <libbutl/fdstream.mxx> + // + using butl::fdopen_pipe; + // Empty string and path. // extern const string empty_string; @@ -118,6 +123,9 @@ namespace bdep process start_bpkg (const common_options&, O&& out, E&& err, A&&... args); + void + finish_bpkg (const common_options&, process&, bool io_error = false); + template <typename... A> void run_bpkg (const common_options&, A&&... args); |