From fe696cf3ae74440a80b18f417ad734ddb4d9f6e9 Mon Sep 17 00:00:00 2001 From: ttimo Date: Mon, 14 Nov 2022 14:28:45 -0600 Subject: [PATCH] replace WinExec with a more modern CreateProcess --- radiant/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radiant/main.cpp b/radiant/main.cpp index d0221ef2..6af9551b 100644 --- a/radiant/main.cpp +++ b/radiant/main.cpp @@ -1292,7 +1292,7 @@ void RunBsp( char *command ){ Sys_Printf( "Running bsp command...\n" ); Sys_Printf( "\n%s\n", strSys.GetBuffer() ); - WinExec( batpath, SW_SHOWNORMAL ); + Q_Exec( batpath, NULL, g_strTempPath.GetBuffer(), true ); #endif } // free the strings and the array