aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-08-18 08:12:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-08-18 08:12:49 +0200
commitdfb4e3b363ec39c0b1744d9edbf7b2ed89b04ad7 (patch)
treeb2b3e96865600846733cb45d04755d5de95584c2
parent4c937646225f911d29ed7a6dde3cf11eff1cfbb7 (diff)
Add ability to create empty process_env
-rw-r--r--libbutl/process.mxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbutl/process.mxx b/libbutl/process.mxx
index fa97ebf..54abdec 100644
--- a/libbutl/process.mxx
+++ b/libbutl/process.mxx
@@ -565,6 +565,8 @@ LIBBUTL_MODEXPORT namespace butl
(vars != nullptr && *vars != nullptr);
}
+ process_env (): path (nullptr) {}
+
process_env (const process_path& p,
const dir_path& c = dir_path (),
const char* const* v = nullptr)