replace WinExec with a more modern CreateProcess

This commit is contained in:
ttimo 2022-11-14 14:28:45 -06:00
parent d441e69264
commit fe696cf3ae

View file

@ -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