From 32db7d8d562e4e9846f1d781aef1cbcb2415b5c8 Mon Sep 17 00:00:00 2001 From: A1029384756 Date: Wed, 17 Jun 2026 00:12:36 -0400 Subject: [PATCH] [subprocess] remove `p` as `PATH` is not needed to find executable --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 631ace841..9b85fd3b7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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;