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:
parent
886e93265a
commit
1c3b7a2653
1 changed files with 1 additions and 1 deletions
|
@ -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], '=');
|
||||
|
|
Loading…
Add table
Reference in a new issue