From ecd8e7d5801658c5ac96d817e2b488ee2a6e2f8a Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Sat, 7 May 2022 15:02:53 +0200 Subject: [PATCH] Do not unconditionally use execvpe() --- src/unix/process.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/unix/process.c b/src/unix/process.c index 540e9812323..be5b385b06d 100644 --- a/src/unix/process.c +++ b/src/unix/process.c @@ -257,7 +257,7 @@ static const char* uv__spawn_find_path_in_env(char* const* env) { return NULL; } - +#ifdef __linux__ static int uv__execvpe(const char *file, char *const argv[], char *const envp[]) { const char *p; const char *z; @@ -352,6 +352,7 @@ static int uv__execvpe(const char *file, char *const argv[], char *const envp[]) return EACCES; return err; } +#endif static void uv__write_int(