[subprocess] remove p as PATH is not needed to find executable

This commit is contained in:
A1029384756
2026-06-17 00:12:36 -04:00
parent 1b4e277f58
commit 32db7d8d56

View File

@@ -187,7 +187,7 @@ extern char **environ;
int run_subprocess(const char *name, const char **args) {
#if defined(GB_SYSTEM_WINDOWS)
return (int)_spawnvp(_P_WAIT, name, args);
return (int)_spawnv(_P_WAIT, name, args);
#else
pid_t pid;
int status;