diff options
| author | Stefan Boberg <[email protected]> | 2021-09-27 20:51:52 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-27 20:51:52 +0200 |
| commit | 4ef4195aa9e190fd40b5b52511f44951ba897d0f (patch) | |
| tree | a8fedb5535fd0cf0ba73f17295630ce284bc6382 /zenserver/compute/apply.cpp | |
| parent | zenserver: added better detection of whether we are running as a service (diff) | |
| download | zen-4ef4195aa9e190fd40b5b52511f44951ba897d0f.tar.xz zen-4ef4195aa9e190fd40b5b52511f44951ba897d0f.zip | |
apply: Re-enabled environment variable setup for child processes
Diffstat (limited to 'zenserver/compute/apply.cpp')
| -rw-r--r-- | zenserver/compute/apply.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zenserver/compute/apply.cpp b/zenserver/compute/apply.cpp index 15d9e0141..a522aa35b 100644 --- a/zenserver/compute/apply.cpp +++ b/zenserver/compute/apply.cpp @@ -767,8 +767,8 @@ HttpFunctionService::ExecAction(const WorkerDesc& Worker, CbObject Action) lpThreadAttributes, bInheritHandles, dwCreationFlags, - nullptr, // (LPVOID)EnvironmentBlock.c_str(), // Environment block - SandboxPath.c_str(), // Current directory + (LPVOID)EnvironmentBlock.Data(), // Environment block + SandboxPath.c_str(), // Current directory &StartupInfo, /* out */ &ProcessInformation); |