diff options
Diffstat (limited to 'bdep/utility.hxx')
-rw-r--r-- | bdep/utility.hxx | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/bdep/utility.hxx b/bdep/utility.hxx index fcf0963..c4d406c 100644 --- a/bdep/utility.hxx +++ b/bdep/utility.hxx @@ -67,11 +67,6 @@ namespace bdep using butl::auto_rmfile; using butl::auto_rmdir; - // <libbutl/fdstream.mxx> - // - using butl::fdnull; - using butl::fdopen_pipe; - // Empty string and path. // extern const string empty_string; @@ -119,6 +114,10 @@ namespace bdep // extern dir_path exec_dir; + // Progress. + // + extern bool stderr_term; // True if stderr is a terminal. + // Filesystem. // bool @@ -147,6 +146,14 @@ namespace bdep uint16_t verbosity = 3, rm_error_mode = rm_error_mode::fail); + // File descriptor streams. + // + fdpipe + open_pipe (); + + auto_fd + open_dev_null (); + // Run a process. // template <typename I, typename O, typename E, typename P, typename... A> |