aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bpkg/diagnostics.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/bpkg/diagnostics.cxx b/bpkg/diagnostics.cxx
index cf096d1..ec0375c 100644
--- a/bpkg/diagnostics.cxx
+++ b/bpkg/diagnostics.cxx
@@ -44,7 +44,10 @@ namespace bpkg
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 << process_args {args, n};
}