mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-27 13:43:17 +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;
|
||||
#ifdef WIN32
|
||||
int pLen;
|
||||
SetEnvironmentVariableA((LPCSTR)"=c:", (LPCTSTR)"__DUMMY__"); // This is requried to work around a Win32 bug in construct_environment_block()
|
||||
#endif
|
||||
#ifdef _POSIX
|
||||
#ifndef __APPLE__
|
||||
|
||||
Reference in New Issue
Block a user