aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/diagnostics.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2025-02-03 13:01:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2025-02-03 13:01:07 +0200
commit0185ab83a8eb99bfa2dc3c1a2abb3a8ceee37916 (patch)
tree68f65b5828ef2965379d0ca8a118debbf33b8ace /libbuild2/diagnostics.cxx
parent2c2d1f5efaeb6b6c06c7b0d7f79fb83381e8c8c5 (diff)
Adjust to operator<<(process_env) semantics change
Diffstat (limited to 'libbuild2/diagnostics.cxx')
-rw-r--r--libbuild2/diagnostics.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/libbuild2/diagnostics.cxx b/libbuild2/diagnostics.cxx
index fdd276e..e22ef44 100644
--- a/libbuild2/diagnostics.cxx
+++ b/libbuild2/diagnostics.cxx
@@ -559,7 +559,10 @@ namespace build2
const process_env& pe, const char* const* args, size_t n)
{
if (pe.env ())
- dr << pe << ' ';
+ {
+ to_stream (dr.os, pe, process_env_format::cwd | process_env_format::vars);
+ dr << ' ';
+ }
dr << butl::process_args {args, n};
}