Skip to content

Commit 885f694

Browse files
committed
Use execve instead of execvpe, which is not available in <= 4.4 trees
1 parent 95b0b3c commit 885f694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/util.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ char *run_get_stdout_with_exit_with_env(char **cmd, int *exit_code, char *const
401401
dup2(fd[1], 2); // send stderr to the pipe
402402
close(fd[1]);
403403

404-
execvpe(cmd[0], cmd, envp);
404+
execve(cmd[0], cmd, envp);
405405
_exit(127);
406406
}
407407
else

0 commit comments

Comments
 (0)