mirror of
https://github.com/Ylianst/MeshAgent
synced 2026-01-08 03:23:27 +00:00
Added workaround for Windows System bug in execve() family of functions, in older windows releases.
This commit is contained in:
@@ -4429,6 +4429,7 @@ int MeshAgent_AgentMode(MeshAgentHostContainer *agentHost, int paramLen, char **
|
|||||||
int resetNodeId = 0;
|
int resetNodeId = 0;
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
int pLen;
|
int pLen;
|
||||||
|
SetEnvironmentVariableA((LPCSTR)"=c:", (LPCTSTR)"__DUMMY__"); // This is requried to work around a Win32 bug in construct_environment_block()
|
||||||
#endif
|
#endif
|
||||||
#ifdef _POSIX
|
#ifdef _POSIX
|
||||||
#ifndef __APPLE__
|
#ifndef __APPLE__
|
||||||
|
|||||||
Reference in New Issue
Block a user