aboutsummaryrefslogtreecommitdiff
path: root/libbutl/openssl.ixx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-06-06 14:05:38 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-06-07 14:08:27 +0300
commit7c4f5e6464a7d9a9c48b4d6773fbb348624cc32e (patch)
treeb8b86eba7852bd00191600e0e4696cc5a7c31e42 /libbutl/openssl.ixx
parenta32378a9aedd61c51166432ecd26a6a5dd405ebb (diff)
Support passing environment variables to child process
Diffstat (limited to 'libbutl/openssl.ixx')
-rw-r--r--libbutl/openssl.ixx5
1 files changed, 2 insertions, 3 deletions
diff --git a/libbutl/openssl.ixx b/libbutl/openssl.ixx
index 2af5029..2976659 100644
--- a/libbutl/openssl.ixx
+++ b/libbutl/openssl.ixx
@@ -10,20 +10,19 @@ namespace butl
template <typename I,
typename O,
typename E,
- typename P,
typename... A>
inline openssl::
openssl (I&& in,
O&& out,
E&& err,
- const P& program,
+ const process_env& env,
const std::string& command,
A&&... options)
: openssl ([] (const char* [], std::size_t) {},
std::forward<I> (in),
std::forward<O> (out),
std::forward<E> (err),
- program,
+ env,
command,
std::forward<A> (options)...)
{