1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

cgi: also use explicit env setting for OSX

...if no execvpe...
This commit is contained in:
Andy Green 2020-07-17 13:49:14 +01:00
parent 886e93265a
commit 1c3b7a2653

View file

@ -511,7 +511,7 @@ lws_spawn_piped(const struct lws_spawn_piped_info *i)
}
#if !defined(LWS_HAVE_VFORK) || !defined(LWS_HAVE_EXECVPE)
#if defined(__linux__)
#if defined(__linux__) || defined(__APPLE__)
m = 0;
while (i->env_array[m]){
char *p = strchr(i->env_array[m], '=');